Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg Disable more warnings for clang build to d...



details:   https://anonhg.NetBSD.org/src/rev/cb9d02759447
branches:  trunk
changeset: 797305:cb9d02759447
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jul 13 16:35:49 2014 +0000

description:
Disable more warnings for clang build to deal with xsrc changes.

diffstat:

 external/mit/xorg/bin/xauth/Makefile         |  4 +++-
 external/mit/xorg/lib/dri/i965/Makefile      |  4 ++--
 external/mit/xorg/lib/dri/libmesa/Makefile   |  5 +++--
 external/mit/xorg/lib/dri/r600/Makefile      |  4 ++--
 external/mit/xorg/lib/libGLU/Makefile        |  4 ++--
 external/mit/xorg/lib/libOSMesa/Makefile     |  4 ++--
 external/mit/xorg/lib/libdrm_radeon/Makefile |  4 +++-
 7 files changed, 17 insertions(+), 12 deletions(-)

diffs (122 lines):

diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/bin/xauth/Makefile
--- a/external/mit/xorg/bin/xauth/Makefile      Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/bin/xauth/Makefile      Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2014/04/05 17:01:55 tron Exp $
+#      $NetBSD: Makefile,v 1.5 2014/07/13 16:35:49 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -9,6 +9,8 @@
 CPPFLAGS.gethost.c=    ${X11FLAGS.CONNECTION}
 CPPFLAGS.parsedpy.c=   ${X11FLAGS.CONNECTION}
 
+CWARNFLAGS.clang=      -Wno-empty-body
+
 LDADD+=        -lXau -lXmuu -lXt -lSM -lICE -lXext -lX11
 DPADD+=        ${LIBXAU} ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
 
diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/lib/dri/i965/Makefile
--- a/external/mit/xorg/lib/dri/i965/Makefile   Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/lib/dri/i965/Makefile   Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2014/07/09 20:22:55 riastradh Exp $
+# $NetBSD: Makefile,v 1.16 2014/07/13 16:35:49 joerg Exp $
 
 MODULE=        i965
 
@@ -124,7 +124,7 @@
        brw_fs_vector_splitting.cpp \
        brw_shader.cpp
 
-CWARNFLAGS.clang+=     -Wno-format -Wno-switch
+CWARNFLAGS.clang+=     -Wno-format -Wno-switch -Wno-tautological-compare
 
 LIBDPLIBS+=    drm_intel       ${.CURDIR}/../../libdrm_intel
 
diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/lib/dri/libmesa/Makefile
--- a/external/mit/xorg/lib/dri/libmesa/Makefile        Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/lib/dri/libmesa/Makefile        Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2014/07/09 20:22:55 riastradh Exp $
+#      $NetBSD: Makefile,v 1.13 2014/07/13 16:35:49 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -34,6 +34,7 @@
 
 #LIBDPLIBS+=   GL      ${.CURDIR}/../../libGL
 
-CWARNFLAGS.clang+=     -Wno-format -Wno-constant-conversion
+CWARNFLAGS.clang+=     -Wno-format -Wno-constant-conversion \
+                       -Wno-tautological-compare
 
 .include <bsd.lib.mk>
diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/lib/dri/r600/Makefile
--- a/external/mit/xorg/lib/dri/r600/Makefile   Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/lib/dri/r600/Makefile   Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/07/09 20:22:55 riastradh Exp $
+# $NetBSD: Makefile,v 1.6 2014/07/13 16:35:49 joerg Exp $
 
 MODULE=        r600
 
@@ -56,6 +56,6 @@
 LIBDPLIBS+=    drm_radeon      ${.CURDIR}/../../libdrm_radeon
 
 CWARNFLAGS.clang+=     -Wno-constant-logical-operand -Wno-empty-body \
-                       -Wno-format
+                       -Wno-format -Wno-tautological-compare
 
 .include "${.CURDIR}/../dri.mk"
diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/lib/libGLU/Makefile
--- a/external/mit/xorg/lib/libGLU/Makefile     Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/lib/libGLU/Makefile     Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2014/06/14 20:49:37 mrg Exp $
+#      $NetBSD: Makefile,v 1.14 2014/07/13 16:35:49 joerg Exp $
 
 NOLINT=                1       # XTODO: tess.ln SIGSEGVs lint :(
 
@@ -97,4 +97,4 @@
 COPTS.sampleCompTop.cc+=       -O0
 .endif
 
-CWARNFLAGS.clang+=     -Wno-parentheses
+CWARNFLAGS.clang+=     -Wno-parentheses -Wno-tautological-undefined-compare
diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/lib/libOSMesa/Makefile
--- a/external/mit/xorg/lib/libOSMesa/Makefile  Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/lib/libOSMesa/Makefile  Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2014/07/09 20:22:56 riastradh Exp $
+#      $NetBSD: Makefile,v 1.9 2014/07/13 16:35:49 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -15,7 +15,7 @@
                -D_NETBSD_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS
 CFLAGS+=       -pthread
 
-CWARNFLAGS.clang+=     -Wno-format -Wno-constant-conversion
+CWARNFLAGS.clang+=     -Wno-format -Wno-constant-conversion -Wno-tautological-compare
 
 .include "libmesa.mk"
 
diff -r 24b621917ac9 -r cb9d02759447 external/mit/xorg/lib/libdrm_radeon/Makefile
--- a/external/mit/xorg/lib/libdrm_radeon/Makefile      Sun Jul 13 16:31:20 2014 +0000
+++ b/external/mit/xorg/lib/libdrm_radeon/Makefile      Sun Jul 13 16:35:49 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2014/07/09 20:22:56 riastradh Exp $
+#      $NetBSD: Makefile,v 1.7 2014/07/13 16:35:49 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -17,6 +17,8 @@
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}
 
+CWARNFLAGS.clang+=     -Wno-pointer-sign -Wno-parentheses-equality
+
 LIBDPLIBS=     drm     ${.CURDIR}/../libdrm
 
 PKGCONFIG=     libdrm_radeon



Home | Main Index | Thread Index | Old Index