diff options
Diffstat (limited to 'net/kdenetwork3/patches')
-rw-r--r-- | net/kdenetwork3/patches/patch-am | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/net/kdenetwork3/patches/patch-am b/net/kdenetwork3/patches/patch-am index c696cfed7b8..19ac766c096 100644 --- a/net/kdenetwork3/patches/patch-am +++ b/net/kdenetwork3/patches/patch-am @@ -1,8 +1,19 @@ -$NetBSD: patch-am,v 1.4 2006/10/12 10:47:18 markd Exp $ +$NetBSD: patch-am,v 1.5 2008/04/01 22:50:24 markd Exp $ ---- krfb/libvncserver/rfb.h.orig 2003-07-21 19:38:18.000000000 +1200 +--- krfb/libvncserver/rfb.h.orig 2005-09-10 20:20:13.000000000 +1200 +++ krfb/libvncserver/rfb.h -@@ -62,7 +62,7 @@ typedef unsigned long KeySym; +@@ -38,9 +38,7 @@ extern "C" + #include "keysym.h" + + /* TODO: this stuff has to go into autoconf */ +-typedef unsigned char CARD8; +-typedef unsigned short CARD16; +-typedef unsigned int CARD32; ++#include <X11/Xmd.h> + typedef CARD32 Pixel; + /* typedef CARD32 KeySym; */ + #ifndef __osf__ +@@ -62,7 +60,7 @@ typedef unsigned long KeySym; #ifdef __linux__ #include <endian.h> @@ -11,7 +22,7 @@ $NetBSD: patch-am,v 1.4 2006/10/12 10:47:18 markd Exp $ #include <sys/types.h> #include <machine/endian.h> #ifndef _BYTE_ORDER -@@ -76,7 +76,7 @@ +@@ -76,7 +74,7 @@ typedef unsigned long KeySym; #if defined(__sparc) /* SPARC here (big endian) */ #define _BYTE_ORDER 4321 |