Module Name:    src
Committed By:   msaitoh
Date:           Wed Jun 12 04:05:36 UTC 2013

Modified Files:
        src/external/mit/xorg/lib/libX11 [netbsd-6-0]: Makefile.libx11

Log Message:
Pull up following revision(s) (requested by mrg in ticket #901):
        external/mit/xorg/lib/libX11/Makefile.libx11: revision 1.11
hack for old gcc.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.10.1 \
    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.8 src/external/mit/xorg/lib/libX11/Makefile.libx11:1.8.10.1
--- src/external/mit/xorg/lib/libX11/Makefile.libx11:1.8	Wed Feb 23 07:53:29 2011
+++ src/external/mit/xorg/lib/libX11/Makefile.libx11	Wed Jun 12 04:05:36 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.libx11,v 1.8 2011/02/23 07:53:29 mrg Exp $
+#	$NetBSD: Makefile.libx11,v 1.8.10.1 2013/06/12 04:05:36 msaitoh Exp $
 
 LIB=	X11
 .PATH:	${X11SRCDIR.${LIB}}/src
@@ -461,5 +461,9 @@ COPTS.lcUTF8.c+=	-Wno-error
 COPTS.Font.c+=		-Wno-error	# XXX xf86bigfstr.h
 COPTS.OpenDis.c+=	-Wno-error	# XXX xf86bigfstr.h
 COPTS.XlibInt.c+=	-Wno-error	# XXX xcmiscstr.h
+.if ${HAVE_GCC} < 45
+COPTS.LiHosts.c+=	-Wno-error	# XXX: old gcc figures out that const
+					# cond because nHosts < max_hosts
+.endif
 
 .include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys"

Reply via email to