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.bak        2012-05-15 13:44:49.000000000 +0100
+++ Makefile    2012-05-15 17:52:56.000000000 +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"

Reply via email to