netpgp: fix build with gcc>=12
This commit is contained in:
parent
e3536c4c5f
commit
6e8c617d4e
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ homepage="http://www.netbsd.org"
|
||||||
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz"
|
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz"
|
||||||
checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf
|
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() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue