Ticket #15194: kdenetwork3.diff
File kdenetwork3.diff, 1.2 KB (added by takanori@…, 17 years ago) |
---|
-
files/patch-krfb_libvncserver_rfb.h.diff
1 --- kdenetwork-3.5.8/krfb/libvncserver/rfb.h 2005-09-10 17:20:13.000000000 +0900 2 +++ kdenetwork-3.5.8-new/krfb/libvncserver/rfb.h 2008-05-04 17:59:50.000000000 +0900 3 @@ -38,9 +38,7 @@ 4 #include "keysym.h" 5 6 /* TODO: this stuff has to go into autoconf */ 7 -typedef unsigned char CARD8; 8 -typedef unsigned short CARD16; 9 -typedef unsigned int CARD32; 10 +#include <X11/Xmd.h> 11 typedef CARD32 Pixel; 12 /* typedef CARD32 KeySym; */ 13 #ifndef __osf__ -
Portfile
39 39 extract.only ${distname}.tar.bz2 40 40 post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" } 41 41 42 patchfiles kdenetwork3.patch 42 patchfiles kdenetwork3.patch patch-krfb_libvncserver_rfb.h.diff 43 43 patch { 44 44 foreach file $patchfiles { 45 45 system "cd ${worksrcpath} && sed -e 's,@FINKPREFIX@,${prefix},g' ${filespath}/${file} | patch -p1"