From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 4 15:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A6861903 for ; Thu, 4 Jul 2013 15:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2811CB6 for ; Thu, 4 Jul 2013 15:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r64FU0TX083946 for ; Thu, 4 Jul 2013 15:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r64FU0k9083945; Thu, 4 Jul 2013 15:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 4 Jul 2013 15:30:00 GMT Resent-Message-Id: <201307041530.r64FU0k9083945@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B0DE18CF for ; Thu, 4 Jul 2013 15:28:42 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by mx1.freebsd.org (Postfix) with ESMTP id 531731C9D for ; Thu, 4 Jul 2013 15:28:41 +0000 (UTC) Received: from 139.159-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.159.139]) by relay.skynet.be with ESMTP; 04 Jul 2013 17:27:33 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r64FRRZV007047 for ; Thu, 4 Jul 2013 17:27:27 +0200 (CEST) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id r64FRQ50007046; Thu, 4 Jul 2013 17:27:26 +0200 (CEST) (envelope-from tijl) Message-Id: <201307041527.r64FRQ50007046@kalimero.tijl.coosemans.org> Date: Thu, 4 Jul 2013 17:27:26 +0200 (CEST) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/180263: [patch] net-mgmt/dhcdrop: add USE_CSTD=gnu89 for clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 15:30:00 -0000 >Number: 180263 >Category: ports >Synopsis: [patch] net-mgmt/dhcdrop: add USE_CSTD=gnu89 for clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 04 15:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 10.0-CURRENT i386 >Organization: >Environment: >Description: Problems with inline and clang are because clang defaults to C99. By adding USE_CSTD=gnu89 the post-patch target can be removed. >How-To-Repeat: >Fix: --- dhcdrop.patch begins here --- Index: net-mgmt/dhcdrop/Makefile =================================================================== --- net-mgmt/dhcdrop/Makefile (revision 322214) +++ net-mgmt/dhcdrop/Makefile (working copy) @@ -10,6 +10,7 @@ MAINTAINER= ffault@gmail.com COMMENT= Tool for searching and suppressing false DHCP servers USE_BZIP2= yes +USE_CSTD= gnu89 GNU_CONFIGURE= yes MAN8= ${PORTNAME}.8 @@ -26,9 +27,4 @@ STATIC_DESC= Build a static version of d CONFIGURE_ARGS+=--enable-static-build .endif -post-patch: - @${REINPLACE_CMD} -e \ - 's,inline void rand_ether_addr,static void rand_ether_addr,' \ - ${WRKSRC}/src/dhcdrop.[c,h] - .include --- dhcdrop.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: