Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 12:56:00 -0800 (PST)
From:      Christian Mangin <christian.mangin@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174006: [PATCH] games/lgeneral: Fix build with clang
Message-ID:  <50b7cbe0.305e340a.7530.48f8@mx.google.com>
Resent-Message-ID: <201211292100.qATL00d6036504@freefall.freebsd.org>

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

>Number:         174006
>Category:       ports
>Synopsis:       [PATCH] games/lgeneral: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 29 21:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Christian Mangin
>Release:        FreeBSD 9.1-RC3 amd64
>Organization:
>Environment:
System: FreeBSD atalante 9.1-RC3 FreeBSD 9.1-RC3 #0 r243417: Thu Nov 22 23:19:54 EST 2012 root@atalante:/usr/obj/usr/src/sys/T510 amd64

>Description:
This port needs -std=gnu89 to build with clang.
 
>How-To-Repeat:
>Fix:
Patch attached.

--- lgeneral.diff begins here ---
--- lgeneral.orig/Makefile	2012-11-17 00:57:43.000000000 -0500
+++ lgeneral/Makefile	2012-11-29 15:46:09.189035885 -0500
@@ -28,6 +28,7 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 MAKE_JOBS_SAFE=	yes
+USE_CSTD=	gnu89
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
--- lgeneral.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?50b7cbe0.305e340a.7530.48f8>