Module Name:    src
Committed By:   mrg
Date:           Thu Jul 21 03:36:29 UTC 2011

Modified Files:
        src/x11/lib/GLU: Makefile

Log Message:
apply some -Wno-error.  there are char * vs. const char * issues that
GCC 4.5 complains about, that are fixed in newer eg, MesaLib.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/x11/lib/GLU/Makefile

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

Modified files:

Index: src/x11/lib/GLU/Makefile
diff -u src/x11/lib/GLU/Makefile:1.7 src/x11/lib/GLU/Makefile:1.8
--- src/x11/lib/GLU/Makefile:1.7	Sat Sep 24 13:51:46 2005
+++ src/x11/lib/GLU/Makefile	Thu Jul 21 03:36:29 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2005/09/24 13:51:46 chs Exp $
+#	$NetBSD: Makefile,v 1.8 2011/07/21 03:36:29 mrg Exp $
 
 NOLINT=		1	# XTODO: tess.ln SIGSEGVs lint :(
 
@@ -68,3 +68,9 @@
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
+
+# Many const char * vs char * issues in xsrc/xfree
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
+# XXX -Wno-deprecated doesn't work?
+CXXFLAGS+=	-Wno-error
+.endif

Reply via email to