Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 15:52:26 +0200 (CEST)
From:      Niclas Zeising <niclas.zeising@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158429: [PATCH] fix games/lincity to build using clang
Message-ID:  <201106291352.p5TDqQcw005307@vincent.daemonic.se>
Resent-Message-ID: <201106291400.p5TE0Ith059819@freefall.freebsd.org>

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

>Number:         158429
>Category:       ports
>Synopsis:       [PATCH] fix games/lincity to 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:   Wed Jun 29 14:00:18 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:
	games/lincity doesn't build with clang
>How-To-Repeat:
	
>Fix:

	attached patch makes games/lincity build with clang

--- games.lincity.clangfix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/lincity/Makefile,v
retrieving revision 1.30
diff -u -d -r1.30 Makefile
--- Makefile	31 May 2010 01:59:02 -0000	1.30
+++ Makefile	29 Jun 2011 13:50:57 -0000
@@ -14,6 +14,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Rich city simulation game for X
 
+USE_CSTD=	c89
+
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
 
 USE_GMAKE=	yes
--- games.lincity.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?201106291352.p5TDqQcw005307>