pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/MesaLib



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jan 25 10:44:51 UTC 2018

Modified Files:
        pkgsrc/graphics/MesaLib: Makefile

Log Message:
MesaLib: Use -D__EXTENSIONS__ on SunOS for strict compilers.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 pkgsrc/graphics/MesaLib/Makefile

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

Modified files:

Index: pkgsrc/graphics/MesaLib/Makefile
diff -u pkgsrc/graphics/MesaLib/Makefile:1.139 pkgsrc/graphics/MesaLib/Makefile:1.140
--- pkgsrc/graphics/MesaLib/Makefile:1.139      Sun Sep  3 08:53:09 2017
+++ pkgsrc/graphics/MesaLib/Makefile    Thu Jan 25 10:44:51 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2017/09/03 08:53:09 wiz Exp $
+# $NetBSD: Makefile,v 1.140 2018/01/25 10:44:51 jperkin Exp $
 
 DISTNAME=      mesa-11.2.2
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -57,6 +57,9 @@ SUBST_MESSAGE.drirc=          Fixing hardcoded /
 SUBST_FILES.drirc+=            src/mesa/drivers/dri/common/xmlconfig.c
 SUBST_SED.drirc+=               -e 's|/etc/|${PREFIX}/etc/|g'
 
+# Required due to clang defaulting to strict C standard by default (no strdup).
+CFLAGS.SunOS+= -D__EXTENSIONS__
+
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"
 .include "options.mk"



Home | Main Index | Thread Index | Old Index