Re: pulseaudio patch for Makefile to enable building with clang

2012-05-15 Thread Mark Linimon
The best thing to do with patches is submit them as PRs, either via
send-pr(1) or via the web interface.  That way, the port maintainer
(if any) gets automaticially notified.  (Well, automatic if the Synopsis
contains the category/portname explicitly)

mcl
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


pulseaudio patch for Makefile to enable building with clang

2012-05-15 Thread Alan Hicks

I've been able to build pulseaudio with clang using the attached patch
and thus far it appears to be working ok on 9.0-RELEASE i386.

Hope it's of use,
Alan

--- Makefile.bak2012-05-15 13:44:49.0 +0100
+++ Makefile2012-05-15 17:52:56.0 +0100
@@ -42,6 +42,10 @@
 CPPFLAGS+= -I${LOCALBASE}/include
 LDFLAGS+=  -L${LOCALBASE}/lib
 
+.if ${CC} == clang
+CFLAGS+=   -fheinous-gnu-extensions
+.endif
+
 CONFIGURE_ARGS=--localstatedir=/var \
--with-database=gdbm \
--without-caps \
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"