[120129] trunk/dports/graphics/asymptote

mojca at macports.org mojca at macports.org
Fri May 16 14:50:17 PDT 2014


Revision: 120129
          https://trac.macports.org/changeset/120129
Author:   mojca at macports.org
Date:     2014-05-16 14:50:17 -0700 (Fri, 16 May 2014)
Log Message:
-----------
symptote: upstream patch to build with buggy parser in libc++ (closes #43728)

Modified Paths:
--------------
    trunk/dports/graphics/asymptote/Portfile
    trunk/dports/graphics/asymptote/files/patch-upstream.diff

Modified: trunk/dports/graphics/asymptote/Portfile
===================================================================
--- trunk/dports/graphics/asymptote/Portfile	2014-05-16 21:39:18 UTC (rev 120128)
+++ trunk/dports/graphics/asymptote/Portfile	2014-05-16 21:50:17 UTC (rev 120129)
@@ -6,6 +6,7 @@
 
 name                asymptote
 version             2.29
+revision            1
 categories          graphics
 maintainers         gmail.com:loshea
 description         a vector graphics language
@@ -62,11 +63,6 @@
 
 patchfiles          patch-upstream.diff
 
-# temporary workaround to avoid asymptote from hanging forever
-if {${os.major} >= 13} {
-    configure.env   CFLAGS="-stdlib=libstdc++" CXXFLAGS="-stdlib=libstdc++"
-}
-
 post-destroot {
     set python.bin ""
     if {[variant_isset python27]} {

Modified: trunk/dports/graphics/asymptote/files/patch-upstream.diff
===================================================================
--- trunk/dports/graphics/asymptote/files/patch-upstream.diff	2014-05-16 21:39:18 UTC (rev 120128)
+++ trunk/dports/graphics/asymptote/files/patch-upstream.diff	2014-05-16 21:50:17 UTC (rev 120129)
@@ -88,3 +88,33 @@
    
    drawElement::lastpen=pentype;
  }
+
+--- Makefile.in.orig
++++ Makefile.in
+@@ -58,9 +58,9 @@ CONTEXTFILES = colo-asy.tex
+ ASY = ./asy -dir base -config "" -render=0
+ 
+ DEFS = @DEFS@ @OPTIONS@ @PTHREAD_CFLAGS@ -DFFTWPP_SINGLE_THREAD
+-CFLAGS = @CPPFLAGS@ @CFLAGS@
+-OPTS = $(DEFS) $(CFLAGS) 
+-INCL = -I . @INCL@
++CFLAGS = @CFLAGS@
++OPTS = $(DEFS) @CPPFLAGS@ @CXXFLAGS@ $(CFLAGS)
++INCL = -I. @INCL@
+ 
+ # Options for compiling the object files for the shared library.
+ # gc has to be configured with the option --disable-threads in order to make a
+--- runlabel.in.orig
++++ runlabel.in
+@@ -121,7 +121,10 @@ array *readpath(const string& psname, bool keep,
+       string out;
+       gs >> out;
+       if(out.empty() && !gs.running()) break;
+-      buf << out;
++      for (string::iterator i = out.begin(); i != out.end(); ++i) {
++        if (isalpha(*i)) { buf << " "; }
++        buf << (*i);
++      }
+       if(out[out.size()-1] == '\n') {
+         gs << newl;
+         break;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140516/a1442c54/attachment-0001.html>


More information about the macports-changes mailing list