From 73bf7241e611ea28e7a58584341921d1262afaa1 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Tue, 5 Dec 2023 20:46:55 +0100 Subject: lint,validate: fix for openbsd - Remove GNU specific stuff (ln -v, mktemp --tempdir, grep --color) - Remove GCC specific flags in sendemail-validate (-Warith-conversion) - Add -std=c99 and -Wpedantic and fix the reported warnings. - Explicitly call gmake everywhere. - Run our custom analyzer standalone. Golangci lint plugins are not supported on OpenBSD. Indirect dependency to golang.org/x/mod is required somehow... Reported-by: Johannes Thyssen Tishman Signed-off-by: Robin Jarry Tested-by: Johannes Thyssen Tishman --- go.mod | 1 + 1 file changed, 1 insertion(+) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 7e498726..79a2a4af 100644 --- a/go.mod +++ b/go.mod @@ -51,6 +51,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rogpeppe/go-internal v1.8.1 // indirect golang.org/x/crypto v0.8.0 // indirect + golang.org/x/mod v0.8.0 // indirect golang.org/x/net v0.9.0 // indirect golang.org/x/term v0.7.0 // indirect golang.org/x/text v0.12.0 // indirect -- cgit