ports/174006: [PATCH] games/lgeneral: Fix build with clang
Christian Mangin
christian.mangin at gmail.com
Thu Nov 29 21:00:00 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list