[MacPorts] #41560: webkit-gtk3 2.2.2 with webkit2 support needed
MacPorts
noreply at macports.org
Thu Nov 28 08:52:15 PST 2013
#41560: webkit-gtk3 2.2.2 with webkit2 support needed
--------------------------+------------------------
Reporter: devans@… | Owner: jeremyhu@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: webkit-gtk3 |
--------------------------+------------------------
Comment (by devans@…):
Using your patch, I was able to build webkit-gtk3 on Mavericks as
expected. But, also as expected, I ran into problems building on ML with
this error:
{{{
In file included from Source/WTF/wtf/Assertions.cpp:40:
In file included from ./Source/WTF/wtf/text/CString.h:29:
In file included from ./Source/WTF/wtf/HashFunctions.h:24:
./Source/WTF/wtf/RefPtr.h:149:27: error: no member named 'move' in
namespace 'std'
RefPtr ptr = std::move(o);
~~~~~^
./Source/WTF/wtf/RefPtr.h:156:27: error: no member named 'move' in
namespace 'std'
RefPtr ptr = std::move(o);
In file included from Source/WTF/wtf/Assertions.cpp:40:
In file included from ./Source/WTF/wtf/text/CString.h:29:
In file included from ./Source/WTF/wtf/HashFunctions.h:24:
./Source/WTF/wtf/RefPtr.h:149:27: error: no member named 'move' in
namespace 'std'
RefPtr ptr = std::move(o);
~~~~~^
./Source/WTF/wtf/RefPtr.h:156:27: error: no member named 'move' in
namespace 'std'
RefPtr ptr = std::move(o);
}}}
This is a 'needs libc++' issue: std::move is not available in libstdc++.
After adding -stdlib=libc++ to both CXXFLAGS and LDFLAGS, the build
proceeded and I got a successful build after
one further minor patch concerning the path name for freetype.h.
Attached is an additional set of patches that encapsulates these changes
and allows the build on ML. This should work as long as Xcode 5 is
available.
Not sure about Lion and certainly SL and earlier remain a problem.
So looks like the issues are:
* needs a C+11 capable compiler
* needs libc++
What's the best way to do this on the earlier platforms?
--
Ticket URL: <https://trac.macports.org/ticket/41560#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list