ports/158559: [PATCH] make net-mgmt/bandwidthd build using clang

Niclas Zeising niclas.zeising at gmail.com
Fri Jul 1 09:30:09 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list