ports/187164: MAINTAINER-UPDATE comms/gmfsk - fix compile with clang
Carl Makin
carl at stagecraft.cx
Sat Mar 1 10:00:02 UTC 2014
>Number: 187164
>Category: ports
>Synopsis: MAINTAINER-UPDATE comms/gmfsk - fix compile with clang
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 01 10:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Carl Makin
>Release: FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD ferb 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
comms/gmfsk fails to compile with clang. This is due to it using C89 extensions
without declaring them. This just adds the workaround recommended in the
porters handbook.
>How-To-Repeat:
>Fix:
--- Makefile.diff begins here ---
--- Makefile.orig 2014-03-01 20:43:55.000000000 +1100
+++ Makefile 2014-03-01 19:41:58.000000000 +1100
@@ -19,6 +19,7 @@
# preprocessor include tests. The following line is a work around.
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
+USE_CSTD= gnu89
USES= gmake pkgconfig
USE_GNOME= libgnomeui gnomehack gnomeprefix
INSTALLS_OMF= yes
--- Makefile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list