netpgp: fix build with gcc>=12

This commit is contained in:
Duncaen 2022-10-09 18:00:14 +02:00
parent e3536c4c5f
commit 6e8c617d4e
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 3 additions and 1 deletions

View File

@ -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