Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/libXi fix vax build issues - GCC 4.1 w...



details:   https://anonhg.NetBSD.org/src/rev/a6530d7b6203
branches:  trunk
changeset: 787223:a6530d7b6203
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 06 21:42:36 2013 +0000

description:
fix vax build issues - GCC 4.1 warns about always true comparisons
more than GCC 4.5 does.

diffstat:

 external/mit/xorg/lib/libXi/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 437587236e96 -r a6530d7b6203 external/mit/xorg/lib/libXi/Makefile
--- a/external/mit/xorg/lib/libXi/Makefile      Thu Jun 06 17:40:09 2013 +0000
+++ b/external/mit/xorg/lib/libXi/Makefile      Thu Jun 06 21:42:36 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2013/06/05 00:52:22 mrg Exp $
+#      $NetBSD: Makefile,v 1.10 2013/06/06 21:42:36 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -80,6 +80,10 @@
 COPTS.XExtInt.c+=      -Wno-error      # XXX
 COPTS.XSndExEv.c+=     -Wno-error      # XXX
 
+.if ${HAVE_GCC} < 45
+COPTS.XGetFCtl.c+=     -Wno-error      # XXX
+.endif
+
 CWARNFLAGS.clang+=     -Wno-pointer-sign
 
 # XXX manuals



Home | Main Index | Thread Index | Old Index