pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Switch SunOS to gnu11 standard for typeof().



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Mar 9 15:05:16 2016 +0100
Changeset:	7a964f5a668d6b72820f1d09bf11b2f49a8dce5e

Modified Files:
	alsa-lib-git/Makefile

Log Message:
Switch SunOS to gnu11 standard for typeof().

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7a964f5a668d6b72820f1d09bf11b2f49a8dce5e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 alsa-lib-git/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/alsa-lib-git/Makefile b/alsa-lib-git/Makefile
index 4f5b7e1..4bc5aed 100644
--- a/alsa-lib-git/Makefile
+++ b/alsa-lib-git/Makefile
@@ -24,7 +24,7 @@ PKGCONFIG_OVERRIDE+=	utils/alsa.pc.in
 CONFIGURE_ARGS+=	--disable-python
 
 LIBS.SunOS+=		-lsocket -lnsl
-CPPFLAGS.SunOS+=	-std=c99 -D_POSIX_C_SOURCE=200112L
+CPPFLAGS.SunOS+=	-std=gnu11 -D_POSIX_C_SOURCE=200112L
 CPPFLAGS.SunOS+=	-D__EXTENSIONS__ -DBSD_COMP -DMAP_FILE=0
 
 .include "../../mk/bsd.prefs.mk"


Home | Main Index | Thread Index | Old Index