Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145253835
D10627.id28108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10627.id28108.diff
View Options
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 <wtf/CurrentTime.h>
+ #include <wtf/RefCounted.h>
+
++// fix for lang/gcc5
++#if __GNUC__ == 5
++using namespace std;
++#endif
++
+ namespace WTF {
+
+ class Stopwatch : public RefCounted<Stopwatch> {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 18, 3:59 PM (18 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28849333
Default Alt Text
D10627.id28108.diff (1 KB)
Attached To
Mode
D10627: Make www/webkit2-gtk3 build for powerpc and gcc targets
Attached
Detach File
Event Timeline
Log In to Comment