svn commit: r513481 - head/net/dhcpcd
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Oct 1 13:57:17 UTC 2019
Author: pkubaj
Date: Tue Oct 1 13:57:16 2019
New Revision: 513481
URL: https://svnweb.freebsd.org/changeset/ports/513481
Log:
net/dhcpcd: fix build on GCC architectures
Use C11 compiler:
arp.c: In function 'arp_found':
arp.c:145: error: #pragma GCC diagnostic not allowed inside functions
arp.c:146: error: #pragma GCC diagnostic not allowed inside functions
arp.c:148: warning: assignment from incompatible pointer type
arp.c:149: error: #pragma GCC diagnostic not allowed inside functions
Approved by: mentors (implicit approval)
Modified:
head/net/dhcpcd/Makefile
Modified: head/net/dhcpcd/Makefile
==============================================================================
--- head/net/dhcpcd/Makefile Tue Oct 1 13:55:41 2019 (r513480)
+++ head/net/dhcpcd/Makefile Tue Oct 1 13:57:16 2019 (r513481)
@@ -16,7 +16,7 @@ COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cpe tar:xz
+USES= compiler:c11 cpe tar:xz
CPE_VENDOR= dhcpcd_project
GNU_CONFIGURE= yes
More information about the svn-ports-all
mailing list