pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: Use -D__EXTENSIONS__ on SunO...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e6a164b5855
branches: trunk
changeset: 374557:8e6a164b5855
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jan 25 10:44:51 2018 +0000
description:
MesaLib: Use -D__EXTENSIONS__ on SunOS for strict compilers.
diffstat:
graphics/MesaLib/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r bc345989e03f -r 8e6a164b5855 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Thu Jan 25 10:43:59 2018 +0000
+++ b/graphics/MesaLib/Makefile Thu Jan 25 10:44:51 2018 +0000
@@ -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_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