[MacPorts] #40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found
MacPorts
noreply at macports.org
Mon May 12 15:59:33 PDT 2014
#40979: asymptote @2.16_2 +python27: fatal error: 'ext/slist' file not found
------------------------------+-----------------------
Reporter: ulrich.klauck@… | Owner: loshea@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: mavericks
Port: asymptote |
------------------------------+-----------------------
Comment (by mojca@…):
Can someone explain me why `CFLAGS` instead of `CXXFLAGS`?
I don't have 10.9 installed yet, but I'm curious to know whether the
following blind fix would help. (Not a proper fix yet, but I want to know
whether it works at all.)
{{{
#!patch
--- prc/writePRC.h.orig
+++ prc/writePRC.h
@@ -26,7 +26,7 @@
#include <deque>
#include <list>
#ifdef __GNUC__
-#include <ext/slist>
+#include <forward_list>
#endif
#include <map>
#include <iostream>
@@ -225,7 +225,7 @@ class PRCAttribute : public PRCAttributeEntry
std::deque<PRCSingleAttribute> attribute_keys;
};
#ifdef __GNUC__
-typedef __gnu_cxx::slist<PRCAttribute> PRCAttributeList;
+typedef std::forward_list<PRCAttribute> PRCAttributeList;
#else
typedef std::list<PRCAttribute> PRCAttributeList;
#endif
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40979#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list