Ticket #2540: textproc_chmdump-tigerfix.diff

File textproc_chmdump-tigerfix.diff, 983 bytes (added by mark@…, 19 years ago)

textproc/chmdump patch

  • Portfile

    diff -u -r -N chmdump-old/Portfile chmdump/Portfile
    old new  
    1313distname        chmtools
    1414checksums       md5 614b91758ddbeb0ab1c4186fdd13d78a
    1515configure       {}
     16patchfiles      patch-chmlib.h
    1617build.target    {}
    1718destroot {      cd ${workpath}/${distname};
    1819                system "install -c ${portname} ${destroot}/${prefix}/bin"}
  • files/patch-chmlib.h

    diff -u -r -N chmdump-old/files/patch-chmlib.h chmdump/files/patch-chmlib.h
    old new  
     1--- chmlib.h.orig       2005-01-05 22:30:33.000000000 -0800
     2+++ chmlib.h    2005-01-05 22:30:51.000000000 -0800
     3@@ -20,7 +20,7 @@
     4 
     5 #include <stdio.h>
     6 typedef unsigned long ulong;
     7-// typedef unsigned short ushort; Already defined for Darwin
     8+typedef unsigned short ushort;
     9 typedef unsigned char ubyte;
     10 
     11 typedef struct guid_t