[101564] trunk/dports/lang/dragonegg-3.1

jeremyhu at macports.org jeremyhu at macports.org
Sun Jan 13 15:50:51 PST 2013


Revision: 101564
          https://trac.macports.org/changeset/101564
Author:   jeremyhu at macports.org
Date:     2013-01-13 15:50:51 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
dragonegg-3.1: Fix build with libc++

Modified Paths:
--------------
    trunk/dports/lang/dragonegg-3.1/Portfile

Added Paths:
-----------
    trunk/dports/lang/dragonegg-3.1/files/cstring.patch

Modified: trunk/dports/lang/dragonegg-3.1/Portfile
===================================================================
--- trunk/dports/lang/dragonegg-3.1/Portfile	2013-01-13 23:45:42 UTC (rev 101563)
+++ trunk/dports/lang/dragonegg-3.1/Portfile	2013-01-13 23:50:51 UTC (rev 101564)
@@ -67,7 +67,7 @@
     }
 }
 
-patchfiles missing-includes.patch
+patchfiles missing-includes.patch cstring.patch
 
 variant universal {
     post-patch {

Added: trunk/dports/lang/dragonegg-3.1/files/cstring.patch
===================================================================
--- trunk/dports/lang/dragonegg-3.1/files/cstring.patch	                        (rev 0)
+++ trunk/dports/lang/dragonegg-3.1/files/cstring.patch	2013-01-13 23:50:51 UTC (rev 101564)
@@ -0,0 +1,10 @@
+--- src/Cache.cpp	2013-01-09 18:03:18.000000000 -0800
++++ src/Cache.cpp	2013-01-13 15:44:51.000000000 -0800
+@@ -37,6 +37,7 @@
+ // GCC headers
+ #include "auto-host.h"
+ #ifndef ENABLE_BUILD_WITH_CXX
++#include <cstring> // Otherwise included by system.h with C linkage.
+ extern "C" {
+ #endif
+ #include "config.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/a2187c35/attachment-0001.html>


More information about the macports-changes mailing list