chmdump build fix (10.4)
Reported by: |
mark@… |
Owned by: |
macports-tickets@… |
Priority:
|
Low
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.0
|
Keywords:
|
|
Cc:
|
digdog@…
|
Port:
|
chmdump
|
|
|
diff -u -r -N chmdump-old/Portfile chmdump/Portfile
--- chmdump-old/Portfile 2003-08-28 18:05:17.000000000 -0700
+++ chmdump/Portfile 2005-01-05 22:41:17.000000000 -0800
@@ -13,6 +13,7 @@
distname chmtools
checksums md5 614b91758ddbeb0ab1c4186fdd13d78a
configure {}
+patchfiles patch-chmlib.h
build.target {}
destroot { cd ${workpath}/${distname};
system "install -c ${portname} ${destroot}/${prefix}/bin"}
diff -u -r -N chmdump-old/files/patch-chmlib.h chmdump/files/patch-chmlib.h
--- chmdump-old/files/patch-chmlib.h 1969-12-31 16:00:00.000000000 -0800
+++ chmdump/files/patch-chmlib.h 2005-01-05 22:32:14.000000000 -0800
@@ -0,0 +1,11 @@
+--- chmlib.h.orig 2005-01-05 22:30:33.000000000 -0800
++++ chmlib.h 2005-01-05 22:30:51.000000000 -0800
+@@ -20,7 +20,7 @@
+
+ #include <stdio.h>
+ typedef unsigned long ulong;
+-// typedef unsigned short ushort; Already defined for Darwin
++typedef unsigned short ushort;
+ typedef unsigned char ubyte;
+
+ typedef struct guid_t
textproc/chmdump patch