Add patch to fix bad XChangeProperty() usage that crashed on sparc64.

pr6522. ok benoit@ (maintainer) revision bump reminded by ajacoutot@.
This commit is contained in:
matthieu 2010-12-02 07:48:41 +00:00
parent 9211601fd8
commit a76cba72cf
2 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2010/11/22 08:37:03 espie Exp $
# $OpenBSD: Makefile,v 1.19 2010/12/02 07:48:41 matthieu Exp $
COMMENT= multi-tabbed terminal emulator
DISTNAME= mrxvt-0.5.4
REVISION= 3
REVISION= 4
CATEGORIES= x11

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_init_c,v 1.5 2010/12/02 07:48:42 matthieu Exp $
--- src/init.c.orig Wed Dec 1 22:43:45 2010
+++ src/init.c Wed Dec 1 22:43:45 2010
@@ -3239,7 +3239,7 @@
XGCValues gcvalue;
unsigned long gcmask;
#ifndef NO_FRILLS
- CARD32 pid = (CARD32) getpid ();
+ long pid = (long) getpid ();
#endif
#ifdef TRANSPARENT
register int i;