Module Name: src
Committed By: rin
Date: Thu Feb 16 01:02:28 UTC 2017
Modified Files:
src/doc: HACKS
src/external/mit/xorg/lib/libX11: Makefile.libx11
Log Message:
lcWrap.c is miscompiled on vax, which results in input failure via XIM.
Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.
To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/doc/HACKS
cvs rdiff -u -r1.17 -r1.18 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/doc/HACKS
diff -u src/doc/HACKS:1.182 src/doc/HACKS:1.183
--- src/doc/HACKS:1.182 Tue Feb 14 09:59:16 2017
+++ src/doc/HACKS Thu Feb 16 01:02:28 2017
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.182 2017/02/14 09:59:16 rin Exp $
+# $NetBSD: HACKS,v 1.183 2017/02/16 01:02:28 rin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -566,6 +566,15 @@ port vax
mandoc(1) receives SIGILL in in_line_argn() from mdoc_macro.c.
kcah
+ hack libX11 miscompile
+ date Thu Feb 16 10:00:22 JST 2017
+ who rin
+ file src/external/mit/xorg/lib/libX11/Makefile.libx11 : 1.18
+ descr
+ lcWrap.c is miscompiled, which results in input failure via XIM.
+ Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.
+ kcah
+
port arm
hack gcc-unsigned-compare
Index: src/external/mit/xorg/lib/libX11/Makefile.libx11
diff -u src/external/mit/xorg/lib/libX11/Makefile.libx11:1.17 src/external/mit/xorg/lib/libX11/Makefile.libx11:1.18
--- src/external/mit/xorg/lib/libX11/Makefile.libx11:1.17 Sat Nov 21 11:15:31 2015
+++ src/external/mit/xorg/lib/libX11/Makefile.libx11 Thu Feb 16 01:02:28 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.libx11,v 1.17 2015/11/21 11:15:31 tsutsui Exp $
+# $NetBSD: Makefile.libx11,v 1.18 2017/02/16 01:02:28 rin Exp $
LIB= X11
.PATH: ${X11SRCDIR.${LIB}}/src
@@ -464,6 +464,11 @@ COPTS.OpenDis.c+= -Wno-error # XXX xf86b
COPTS.XlibInt.c+= -Wno-error # XXX xcmiscstr.h
COPTS.XKBBind.c+= -Wno-deprecated-declarations # uses XKeycodeToKeysym
+# XXX
+.if ${MACHINE} == "vax"
+COPTS.lcWrap.c+= -O0
+.endif
+
CWARNFLAGS.clang+= -Wno-string-plus-int
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys"