[MacPorts] #2540: chmdump build fix (10.4)
MacPorts
noreply at macports.org
Thu Mar 24 07:56:44 PDT 2016
#2540: chmdump build fix (10.4)
----------------------+--------------------------------
Reporter: mark@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Low | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: chmdump |
----------------------+--------------------------------
Changes (by ryandesign@…):
* port: => chmdump
Old description:
> 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
New description:
{{{
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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/2540#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list