[115016] trunk/dports/graphics/gle-graphics

ryandesign at macports.org ryandesign at macports.org
Sat Dec 21 23:39:53 PST 2013


Revision: 115016
          https://trac.macports.org/changeset/115016
Author:   ryandesign at macports.org
Date:     2013-12-21 23:39:53 -0800 (Sat, 21 Dec 2013)
Log Message:
-----------
gle-graphics: maintainer patch to fix build on Mavericks (#41760)

Modified Paths:
--------------
    trunk/dports/graphics/gle-graphics/Portfile

Added Paths:
-----------
    trunk/dports/graphics/gle-graphics/files/patch-hash-map.diff

Modified: trunk/dports/graphics/gle-graphics/Portfile
===================================================================
--- trunk/dports/graphics/gle-graphics/Portfile	2013-12-22 07:22:17 UTC (rev 115015)
+++ trunk/dports/graphics/gle-graphics/Portfile	2013-12-22 07:39:53 UTC (rev 115016)
@@ -40,7 +40,8 @@
 patchfiles          patch-install_name.diff \
                     patch-qgle-carbon.diff \
                     patch-qgle-libgs.diff \
-                    patch-qgle-glu.diff
+                    patch-qgle-glu.diff \
+                    patch-hash-map.diff
 
 post-patch {
     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/gui/qgslibloader.cpp

Added: trunk/dports/graphics/gle-graphics/files/patch-hash-map.diff
===================================================================
--- trunk/dports/graphics/gle-graphics/files/patch-hash-map.diff	                        (rev 0)
+++ trunk/dports/graphics/gle-graphics/files/patch-hash-map.diff	2013-12-22 07:39:53 UTC (rev 115016)
@@ -0,0 +1,24 @@
+--- src/gle/tokens/StringKeyHash.h.orig	2013-12-11 22:20:44.000000000 +0100
++++ src/gle/tokens/StringKeyHash.h	2013-12-11 22:41:44.000000000 +0100
+@@ -51,10 +51,10 @@
+ 	#undef EXT_HASH
+ #endif
+ #ifdef GCC2
+-	#undef EXT_HASH
++//	#undef EXT_HASH
+ #endif
+ #ifdef EXT_HASH
+-//	#include <ext/hash_map>
++	#include <ext/hash_map>
+ #else
+ 	#ifdef _MSC_VER
+ 	#include <hash_map>
+@@ -76,7 +76,7 @@
+ 
+ #ifndef GCC2
+ #ifndef _MSC_VER
+-	using namespace __gnu_cxx;  // using gnu extensions such as "hash"
++//	using namespace __gnu_cxx;  // using gnu extensions such as "hash"
+ #endif
+ #endif
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131221/0030f933/attachment.html>


More information about the macports-changes mailing list