Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2011 11:26:29 +0200 (CEST)
From:      Niclas Zeising <niclas.zeising@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158559: [PATCH] make net-mgmt/bandwidthd build using clang
Message-ID:  <201107010926.p619QTWb016212@vincent.daemonic.se>
Resent-Message-ID: <201107010930.p619U8HA054103@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         158559
>Category:       ports
>Synopsis:       [PATCH] make net-mgmt/bandwidthd build using clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 01 09:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root@vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	Attached patch makes net-mgmt/bandwidthd build using clang.

--- net-mgmt.bandwidthd.clangfix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/bandwidthd/Makefile,v
retrieving revision 1.18
diff -u -d -r1.18 Makefile
--- Makefile	29 Dec 2010 20:04:27 -0000	1.18
+++ Makefile	1 Jul 2011 09:25:06 -0000
@@ -17,6 +17,8 @@
 
 LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
 
+USE_CSTD=	c89
+
 USE_GMAKE=	YES
 GNU_CONFIGURE=	YES
 USE_ICONV=	YES
--- net-mgmt.bandwidthd.clangfix.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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