diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-31 16:22:35 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-31 16:22:35 +0000 |
commit | fe1956f2b8bf229240fa02d5cc077a0eadfd2009 (patch) | |
tree | 6c4a5a4992b740a46c715ab870c5ef3c9e52926c /app/xterm | |
parent | 3af401e4bfb5db3312f25f1d55afbc03ddaac5c3 (diff) |
workaround for a problem that appeared with xterm 243 on arm cpus.
It dumps core in VTInitialize() if charproc.c is compiled with -O2.
The problem is in the lines 5610 to 5614 of this file, which were
added by xterm 243, but I can't see an obvious problem here.
Diffstat (limited to 'app/xterm')
-rw-r--r-- | app/xterm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/xterm/Makefile b/app/xterm/Makefile index 13cff4c46..e58e79efc 100644 --- a/app/xterm/Makefile +++ b/app/xterm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2009/04/04 15:10:44 matthieu Exp $ +# $OpenBSD: Makefile,v 1.13 2009/05/31 16:22:34 matthieu Exp $ .include <bsd.xconf.mk> SUBDIR= icons resize @@ -28,6 +28,11 @@ SRCS= TekPrsTbl.c Tekproc.c VTPrsTbl.c button.c cachedGCs.c \ MANDIR= ${X11BASE}/man/cat XETC?= /etc/X11 +.if ${MACHINE_ARCH} == "arm" +charproc.o: charproc.c + ${CC} -g -c ${CPPFLAGS} ${.CURDIR}/charproc.c +.endif + xterm.1tbl: xterm.man sed -e 's#__vendorversion__#"X Window System"#g' \ -e 's#__mansuffix__#1#g' \ |