Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2011 10:30:40 +0200 (CEST)
From:      Niclas Zeising <niclas.zeising@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158587: [PATCH] fix ftp/mget to build with clang
Message-ID:  <201107020830.p628Ue3c020373@vincent.daemonic.se>
Resent-Message-ID: <201107020840.p628eACM075124@freefall.freebsd.org>

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

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



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