svn commit: r527053 - head/net/mDNSResponder

Piotr Kubaj pkubaj at FreeBSD.org
Mon Feb 24 22:08:05 UTC 2020


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


More information about the svn-ports-head mailing list