Source-Changes-HG archive

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

[src/trunk]: src XXX: apply -Wno-error/friends to a few files



details:   https://anonhg.NetBSD.org/src/rev/9034e8306a0e
branches:  trunk
changeset: 766716:9034e8306a0e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jul 01 01:25:52 2011 +0000

description:
XXX: apply -Wno-error/friends to a few files

diffstat:

 external/mit/xorg/bin/xtrap/Makefile.xtrap                      |  7 ++++++-
 external/mit/xorg/lib/libGLU/Makefile                           |  9 ++++++++-
 external/mit/xorg/lib/libXaw/Makefile                           |  7 ++++++-
 external/mit/xorg/lib/libXaw6/Makefile                          |  7 ++++++-
 external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile |  7 ++++++-
 lib/libc/softfloat/Makefile.inc                                 |  8 +++++++-
 6 files changed, 39 insertions(+), 6 deletions(-)

diffs (111 lines):

diff -r ee5f3b70e489 -r 9034e8306a0e external/mit/xorg/bin/xtrap/Makefile.xtrap
--- a/external/mit/xorg/bin/xtrap/Makefile.xtrap        Fri Jul 01 01:24:53 2011 +0000
+++ b/external/mit/xorg/bin/xtrap/Makefile.xtrap        Fri Jul 01 01:25:52 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.xtrap,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
+#      $NetBSD: Makefile.xtrap,v 1.2 2011/07/01 01:25:52 mrg Exp $
 
 NOMAN= 1
 
@@ -15,3 +15,8 @@
 
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>
+
+# XXX
+.if defined(HAVE_GCC)
+COPTS+= -Wno-error
+.endif
diff -r ee5f3b70e489 -r 9034e8306a0e external/mit/xorg/lib/libGLU/Makefile
--- a/external/mit/xorg/lib/libGLU/Makefile     Fri Jul 01 01:24:53 2011 +0000
+++ b/external/mit/xorg/lib/libGLU/Makefile     Fri Jul 01 01:25:52 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2010/11/22 21:05:29 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2011/07/01 01:25:52 mrg Exp $
 
 NOLINT=                1       # XTODO: tess.ln SIGSEGVs lint :(
 
@@ -89,3 +89,10 @@
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
+
+# XXX
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
+COPTS.arcsorter.cc+=   -Wno-error
+COPTS.sorter.cc+=      -Wno-error
+COPTS.tobezier.cc+=    -Wno-error
+.endif
diff -r ee5f3b70e489 -r 9034e8306a0e external/mit/xorg/lib/libXaw/Makefile
--- a/external/mit/xorg/lib/libXaw/Makefile     Fri Jul 01 01:24:53 2011 +0000
+++ b/external/mit/xorg/lib/libXaw/Makefile     Fri Jul 01 01:25:52 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2011/05/15 21:05:12 christos Exp $
+#      $NetBSD: Makefile,v 1.8 2011/07/01 01:25:52 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -70,3 +70,8 @@
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
+
+# XXX
+.if defined(HAVE_GCC)
+COPTS.XawIm.c+=        -Wno-error
+.endif
diff -r ee5f3b70e489 -r 9034e8306a0e external/mit/xorg/lib/libXaw6/Makefile
--- a/external/mit/xorg/lib/libXaw6/Makefile    Fri Jul 01 01:24:53 2011 +0000
+++ b/external/mit/xorg/lib/libXaw6/Makefile    Fri Jul 01 01:25:52 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2011/05/15 21:09:30 christos Exp $
+#      $NetBSD: Makefile,v 1.8 2011/07/01 01:25:52 mrg Exp $
 
 NOCHECKVER=    yes     # we want to install an older version ...
 MKLINKLIB=     no
@@ -36,3 +36,8 @@
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
+
+# XXX
+.if defined(HAVE_GCC)
+COPTS.XawIm.c+= -Wno-error
+.endif
diff -r ee5f3b70e489 -r 9034e8306a0e external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile   Fri Jul 01 01:24:53 2011 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile   Fri Jul 01 01:25:52 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2010/06/08 04:31:43 mrg Exp $
+#      $NetBSD: Makefile,v 1.3 2011/07/01 01:25:52 mrg Exp $
 
 DRIVER=                xf86-video-openchrome
 DRIVER_NAME=   openchrome_drv
@@ -42,3 +42,8 @@
 CPPFLAGS+=     -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
 
 .include "../Makefile.xf86-driver"
+
+# XXX
+.if defined(HAVE_GCC)
+COPTS.via_dri.c+= -Wno-error
+.endif
diff -r ee5f3b70e489 -r 9034e8306a0e lib/libc/softfloat/Makefile.inc
--- a/lib/libc/softfloat/Makefile.inc   Fri Jul 01 01:24:53 2011 +0000
+++ b/lib/libc/softfloat/Makefile.inc   Fri Jul 01 01:25:52 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.7 2011/01/17 10:08:35 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2011/07/01 01:25:52 mrg Exp $
 
 SOFTFLOAT_BITS?=64
 .PATH:         ${ARCHDIR}/softfloat \
@@ -18,3 +18,9 @@
                nexf2.c gtxf2.c gexf2.c negxf2.c unordsf2.c unorddf2.c
 
 SRCS+=         ${SRCS.softfloat}
+
+# XXX
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 && \
+    (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb")
+COPTS.softfloat.c+=    -Wno-enum-compare
+.endif



Home | Main Index | Thread Index | Old Index