Module Name: src
Committed By: christos
Date: Mon Jun 3 23:01:13 UTC 2013
Modified Files:
src/external/mit/xorg/lib/libX11: Makefile.libx11
Log Message:
hack for old gcc.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/mit/xorg/lib/libX11/Makefile.libx11
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/lib/libX11/Makefile.libx11
diff -u src/external/mit/xorg/lib/libX11/Makefile.libx11:1.10 src/external/mit/xorg/lib/libX11/Makefile.libx11:1.11
--- src/external/mit/xorg/lib/libX11/Makefile.libx11:1.10 Thu May 30 19:42:19 2013
+++ src/external/mit/xorg/lib/libX11/Makefile.libx11 Mon Jun 3 19:01:12 2013
@@ -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.Font.c+= -Wno-error # XXX xf86big
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