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

     
    3939extract.only    ${distname}.tar.bz2
    4040post-extract    { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
    4141
    42 patchfiles      kdenetwork3.patch
     42patchfiles      kdenetwork3.patch patch-krfb_libvncserver_rfb.h.diff
    4343patch           {
    4444                foreach file $patchfiles {
    4545                    system "cd ${worksrcpath} && sed -e 's,@FINKPREFIX@,${prefix},g' ${filespath}/${file} | patch -p1"