ports/158587: [PATCH] fix ftp/mget to build with clang

Niclas Zeising niclas.zeising at gmail.com
Sat Jul 2 08:40:11 UTC 2011


>Number:         158587
>Category:       ports
>Synopsis:       [PATCH] fix ftp/mget to build with 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:   Sat Jul 02 08:40:10 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 fixes ftp/mget to build using clang.

--- ftp.mget.clangfix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ftp/mget/Makefile,v
retrieving revision 1.15
diff -u -d -r1.15 Makefile
--- Makefile	28 Aug 2009 16:52:24 -0000	1.15
+++ Makefile	2 Jul 2011 08:29:24 -0000
@@ -14,6 +14,8 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Multithreaded commandline web-download manager
 
+USE_CSTD=	gnu89
+
 CFLAGS+=	-DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
 		${PTHREAD_CFLAGS}
 LDFLAGS+=	${PTHREAD_LIBS}
--- ftp.mget.clangfix.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list