From 6e8c617d4eb7b917db5eaf98764a05654c9ebdec Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 9 Oct 2022 18:00:14 +0200 Subject: [PATCH] netpgp: fix build with gcc>=12 --- srcpkgs/netpgp/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/netpgp/template b/srcpkgs/netpgp/template index 08e27d5a40b..202cdeac5a4 100644 --- a/srcpkgs/netpgp/template +++ b/srcpkgs/netpgp/template @@ -12,7 +12,9 @@ homepage="http://www.netbsd.org" distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz" checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf -CFLAGS="-Wno-error=unused-but-set-variable -Wno-error=cpp -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -Wno-error=format-overflow" +CFLAGS="-Wno-error=unused-but-set-variable -Wno-error=cpp -Wno-format-truncation \ + -Wno-stringop-truncation -Wno-stringop-overflow -Wno-error=format-overflow \ + -Wno-array-parameter" pre_configure() { autoreconf -fi