From owner-svn-ports-all@freebsd.org Tue Oct 1 13:57:17 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E70B136F8F; Tue, 1 Oct 2019 13:57:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46jLRx0SNtz3P52; Tue, 1 Oct 2019 13:57:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E74A11C55D; Tue, 1 Oct 2019 13:57:16 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x91DvGjp004487; Tue, 1 Oct 2019 13:57:16 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x91DvGnC004486; Tue, 1 Oct 2019 13:57:16 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201910011357.x91DvGnC004486@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 1 Oct 2019 13:57:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513481 - head/net/dhcpcd X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/net/dhcpcd X-SVN-Commit-Revision: 513481 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2019 13:57:17 -0000 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