Index: www/webkit2-gtk3/Makefile =================================================================== --- www/webkit2-gtk3/Makefile +++ www/webkit2-gtk3/Makefile @@ -61,6 +61,11 @@ CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF .endif +.if !empty(ARCH:Mpowerpc*) +CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF +CFLAGS+= -DENABLE_YARR_JIT=0 +.endif + .if ${ARCH} == powerpc64 CFLAGS+= -mminimal-toc .endif @@ -68,6 +73,7 @@ post-patch: @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \ ${WRKSRC}/Source/WebKit2/UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp + @${REINPLACE_CMD} -e 's|ppc|powerpc|' ${WRKSRC}/CMakeLists.txt pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed Index: www/webkit2-gtk3/files/patch-Source_WTF_wtf_Stopwatch.h =================================================================== --- /dev/null +++ www/webkit2-gtk3/files/patch-Source_WTF_wtf_Stopwatch.h @@ -0,0 +1,14 @@ +--- Source/WTF/wtf/Stopwatch.h.orig 2015-08-06 08:21:28 UTC ++++ Source/WTF/wtf/Stopwatch.h +@@ -29,6 +29,11 @@ + #include + #include + ++// fix for lang/gcc5 ++#if __GNUC__ == 5 ++using namespace std; ++#endif ++ + namespace WTF { + + class Stopwatch : public RefCounted {