Date: Mon, 24 Feb 2020 22:08:03 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527053 - head/net/mDNSResponder Message-ID: <202002242208.01OM83V9034419@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Feb 24 22:08:03 2020 New Revision: 527053 URL: https://svnweb.freebsd.org/changeset/ports/527053 Log: net/mDNSResponder: fix build on GCC architectures 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. Modified: head/net/mDNSResponder/Makefile Modified: head/net/mDNSResponder/Makefile ============================================================================== --- head/net/mDNSResponder/Makefile Mon Feb 24 21:46:42 2020 (r527052) +++ head/net/mDNSResponder/Makefile Mon Feb 24 22:08:03 2020 (r527053) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002242208.01OM83V9034419>