Thursday, August 29, 2019

[ports-clang] Unbreak www/webkitgtk4 2.24.2

Hi,

As i feared it, the newer webkitgtk4 cannot be built on my macppc box, due
to some undefined references errors.

WebKit proper has a fix for this [0], allowing webkitgtk4 to build.
amd64 is still fine with that.

As far as runtime is concerned, the situation is still the same.
Excepted file://, all other protocols cause an internal webkit error.

Comments/feedback are welcome :)

Charlène.


[0] https://trac.webkit.org/changeset/246922/webkit


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/webkitgtk4/Makefile,v
retrieving revision 1.107
diff -u -p -u -p -r1.107 Makefile
--- Makefile 28 Aug 2019 12:24:21 -0000 1.107
+++ Makefile 29 Aug 2019 14:14:46 -0000
@@ -13,6 +13,7 @@ PORTROACH = limitw:1,even
COMMENT = GTK+ port of the WebKit rendering engine

V = 2.24.4
+REVISION = 0
DISTNAME = webkitgtk-${V}
PKGNAME = webkitgtk4-${V}
EXTRACT_SUFX = .tar.xz
Index: patches/patch-Source_WebCore_Modules_indexeddb_server_SQLiteIDBBackingStore_cpp
===================================================================
RCS file: patches/patch-Source_WebCore_Modules_indexeddb_server_SQLiteIDBBackingStore_cpp
diff -N patches/patch-Source_WebCore_Modules_indexeddb_server_SQLiteIDBBackingStore_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-Source_WebCore_Modules_indexeddb_server_SQLiteIDBBackingStore_cpp 29 Aug 2019 14:14:46 -0000
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+ports-clang: fix undefined reference to `JSC::JSObject::didBecomePrototype()'
+from:
+https://trac.webkit.org/changeset/246922/webkit
+
+Index: Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
+--- Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp.orig
++++ Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
+@@ -48,11 +48,8 @@
+ #include "SQLiteTransaction.h"
+ #include "ThreadSafeDataBuffer.h"
+ #include <JavaScriptCore/AuxiliaryBarrierInlines.h>
+-#include <JavaScriptCore/HeapInlines.h>
+-#include <JavaScriptCore/JSCJSValueInlines.h>
+-#include <JavaScriptCore/JSGlobalObject.h>
++#include <JavaScriptCore/JSCInlines.h>
+ #include <JavaScriptCore/StrongInlines.h>
+-#include <JavaScriptCore/StructureInlines.h>
+ #include <wtf/FileSystem.h>
+ #include <wtf/NeverDestroyed.h>
+ #include <wtf/text/StringConcatenateNumbers.h>

No comments:

Post a Comment