diff options
author | pkubaj <pkubaj@FreeBSD.org> | 2020-02-25 06:08:03 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2020-02-25 06:59:08 +0800 |
commit | 4140ca7c9e8ddc70a8c2fcccc1f81556ba18b2dc (patch) | |
tree | b6f4a5cc7b891e1dd9e00fb27d747b3b7690b247 | |
parent | 97c6162e7f2f7258271ce07656e60321885ac4ea (diff) | |
download | freebsd-ports-gnome-gnome-3.32.tar.gz freebsd-ports-gnome-gnome-3.32.tar.zst freebsd-ports-gnome-gnome-3.32.zip |
net/mDNSResponder: fix build on GCC architecturesgnome-3.32
Error:
../mDNSCore/DNSCommon.c:3636: error: 'for' loop initial declaration used outside C99 mode
But USE_CSTD=c99 causes another problem:
../mDNSCore/DNSDigest.c:958:9: warning: implicit declaration of function 'asm' is invalid in C99 [-Wimplicit-function-declaration]
R0(A,B,C,D,X[ 0], 7,0xd76aa478L);
^
Just use newer GCC.
-rw-r--r-- | net/mDNSResponder/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile index 763ee05d0863..804b07e95951 100644 --- a/net/mDNSResponder/Makefile +++ b/net/mDNSResponder/Makefile @@ -17,7 +17,7 @@ CONFLICTS_INSTALL= avahi-libdns openmdns OPTIONS_DEFINE= IPV6 -USES= cpe gmake +USES= compiler:c11 cpe gmake ALL_TARGET= all dnsextd BUILD_WRKSRC= ${WRKSRC}/mDNSPosix |