Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 20:47:15 +1100 (EST)
From:      Carl Makin <carl@stagecraft.cx>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187164: MAINTAINER-UPDATE comms/gmfsk - fix compile with clang
Message-ID:  <201403010947.s219lFXV012255@ferb.stagecraft.cx>
Resent-Message-ID: <201403011000.s21A01Ff045632@freefall.freebsd.org>

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

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



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