openbsd-ports/x11/mrxvt/patches/patch-src_init_c
naddy eed7c62887 Fix build with png-1.5.
All fixes by yours truly.
2011-07-08 20:38:00 +00:00

13 lines
441 B
Plaintext

$OpenBSD: patch-src_init_c,v 1.6 2011/07/08 20:38:00 naddy Exp $
--- src/init.c.orig Fri Jun 13 13:08:13 2008
+++ src/init.c Thu Jul 7 09:13:48 2011
@@ -3239,7 +3239,7 @@ rxvt_create_show_windows( rxvt_t *r, int argc, const c
XGCValues gcvalue;
unsigned long gcmask;
#ifndef NO_FRILLS
- CARD32 pid = (CARD32) getpid ();
+ long pid = (long) getpid ();
#endif
#ifdef TRANSPARENT
register int i;