[89657] trunk/dports/editors/hexfiend

cal at macports.org cal at macports.org
Sun Feb 5 15:08:30 PST 2012


Revision: 89657
          http://trac.macports.org/changeset/89657
Author:   cal at macports.org
Date:     2012-02-05 15:08:28 -0800 (Sun, 05 Feb 2012)
Log Message:
-----------
Hexfiend: patch to fix build on Snow Leopard (in specific, the buildbot)

Modified Paths:
--------------
    trunk/dports/editors/hexfiend/Portfile

Added Paths:
-----------
    trunk/dports/editors/hexfiend/files/
    trunk/dports/editors/hexfiend/files/framework-sources-HFByteArrayEditScript.m.patch

Modified: trunk/dports/editors/hexfiend/Portfile
===================================================================
--- trunk/dports/editors/hexfiend/Portfile	2012-02-05 23:04:25 UTC (rev 89656)
+++ trunk/dports/editors/hexfiend/Portfile	2012-02-05 23:08:28 UTC (rev 89657)
@@ -9,7 +9,7 @@
 checksums       rmd160  abc7abbef3f2f4005537a13dbfcf723ee6b33c84 \
                 sha256  c98ac5a5b6cee58747980283dc8e94d91b466e1c797a4bb702e600944f308de3
 
-epoch       1
+epoch           1
 categories      editors aqua
 maintainers     dweber cal openmaintainer
 license         BSD
@@ -28,6 +28,13 @@
     * Data inspector. Interpret data as integer or floating point, signed or unsigned, big or little endian...\n\
     * Smooth scrolling. No separate pages - scroll like any text document.
 
+# required to build on < Lion
+patchfiles      framework-sources-HFByteArrayEditScript.m.patch
+platform darwin 11 {
+    patchfiles-delete \
+                framework-sources-HFByteArrayEditScript.m.patch
+}
+
 xcode.target        HexFiend_2
 xcode.configuration Release
 

Added: trunk/dports/editors/hexfiend/files/framework-sources-HFByteArrayEditScript.m.patch
===================================================================
--- trunk/dports/editors/hexfiend/files/framework-sources-HFByteArrayEditScript.m.patch	                        (rev 0)
+++ trunk/dports/editors/hexfiend/files/framework-sources-HFByteArrayEditScript.m.patch	2012-02-05 23:08:28 UTC (rev 89657)
@@ -0,0 +1,11 @@
+--- framework/sources/HFByteArrayEditScript.m.orig	2012-02-05 23:57:47.000000000 +0100
++++ framework/sources/HFByteArrayEditScript.m	2012-02-05 23:58:02.000000000 +0100
+@@ -19,7 +19,7 @@
+ #define MAX_RECURSION_DEPTH 64
+ 
+ #if NDEBUG
+-#define BYTEARRAY_RELEASE_INLINE __attribute__((always_inline)) static
++#define BYTEARRAY_RELEASE_INLINE inline static
+ #else
+ #define BYTEARRAY_RELEASE_INLINE __attribute__((noinline)) static
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120205/67cbde56/attachment.html>


More information about the macports-changes mailing list