Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 13:57:16 +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: r513481 - head/net/dhcpcd
Message-ID:  <201910011357.x91DvGnC004486@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910011357.x91DvGnC004486>