[122185] trunk/dports/aqua
jmr at macports.org
jmr at macports.org
Wed Jul 16 19:36:01 PDT 2014
Revision: 122185
https://trac.macports.org/changeset/122185
Author: jmr at macports.org
Date: 2014-07-16 19:36:01 -0700 (Wed, 16 Jul 2014)
Log Message:
-----------
AppHack: fix build on Mavericks, set license
Modified Paths:
--------------
trunk/dports/aqua/AppHack/Portfile
Added Paths:
-----------
trunk/dports/aqua/AppHack/
trunk/dports/aqua/AppHack/files/
trunk/dports/aqua/AppHack/files/IconFamily.m.patch
Modified: trunk/dports/aqua/AppHack/Portfile
===================================================================
--- trunk/dports/aqua/AppHack/Portfile 2010-12-10 09:01:11 UTC (rev 74275)
+++ trunk/dports/aqua/AppHack/Portfile 2014-07-17 02:36:01 UTC (rev 122185)
@@ -6,7 +6,7 @@
name AppHack
version 1.1
categories aqua devel
-platforms darwin
+license GPL-2+
supported_archs i386 ppc
maintainers nomaintainer
@@ -27,3 +27,7 @@
checksums md5 e621db13de5dfe5946c3020ab73ff533 \
sha1 9de25df706a7e6f09aec23917df79e2094c4b9f6 \
rmd160 d9a892aa6922457ee2a989c8eaacb7ce1f2d88f0
+
+if {${os.major} >= 13} {
+ patchfiles-append IconFamily.m.patch
+}
Added: trunk/dports/aqua/AppHack/files/IconFamily.m.patch
===================================================================
--- trunk/dports/aqua/AppHack/files/IconFamily.m.patch (rev 0)
+++ trunk/dports/aqua/AppHack/files/IconFamily.m.patch 2014-07-17 02:36:01 UTC (rev 122185)
@@ -0,0 +1,20 @@
+--- IconFamily.m.orig 2005-06-13 00:31:03.000000000 +1000
++++ IconFamily.m 2014-07-17 12:20:12.000000000 +1000
+@@ -1088,6 +1088,7 @@
+
+ if (((samplesPerPixel == 3) && (bitsPerPixel == 24)) || ((samplesPerPixel == 4) && (bitsPerPixel == 32)))
+ {
++#if 0
+ CGDirectPaletteRef cgPal;
+ CGDeviceColor cgCol;
+
+@@ -1130,6 +1131,9 @@
+ }
+
+ CGPaletteRelease(cgPal);
++#endif
++ NSLog(@"get8BitDataFromBitmapImageRep:requiredPixelSize: returning NULL due to lack of CGDirectPaletteRef in this OS version");
++ return NULL;
+ }
+ else
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140716/e17276fe/attachment.html>
More information about the macports-changes
mailing list