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/libX11 hack for old gcc.



details:   https://anonhg.NetBSD.org/src/rev/81f9648c399d
branches:  trunk
changeset: 787141:81f9648c399d
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 03 23:01:12 2013 +0000

description:
hack for old gcc.

diffstat:

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

diffs (20 lines):

diff -r 4de9e5bc0ea5 -r 81f9648c399d external/mit/xorg/lib/libX11/Makefile.libx11
--- a/external/mit/xorg/lib/libX11/Makefile.libx11      Mon Jun 03 21:59:41 2013 +0000
+++ b/external/mit/xorg/lib/libX11/Makefile.libx11      Mon Jun 03 23:01:12 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libx11,v 1.10 2013/05/30 23:42:19 mrg Exp $
+#      $NetBSD: Makefile.libx11,v 1.11 2013/06/03 23:01:12 christos Exp $
 
 LIB=   X11
 .PATH: ${X11SRCDIR.${LIB}}/src
@@ -462,6 +462,10 @@
 COPTS.OpenDis.c+=      -Wno-error      # XXX xf86bigfstr.h
 COPTS.XlibInt.c+=      -Wno-error      # XXX xcmiscstr.h
 COPTS.XKBBind.c+=      -Wno-error      # uses XKeycodeToKeysym
+.if ${HAVE_GCC} < 45
+COPTS.LiHosts.c+=      -Wno-error      # XXX: old gcc figures out that const
+                                       # cond because nHosts < max_hosts
+.endif
 
 CWARNFLAGS.clang+=     -Wno-string-plus-int
 



Home | Main Index | Thread Index | Old Index