diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-02-15 21:21:04 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-02-15 21:21:04 +0000 |
commit | 98c24badd0f2908e39151be41b0873ac3e59ae1a (patch) | |
tree | 9d11baecb937c9891fe873c5362ebdb789ed8fe2 | |
parent | net/tcptestsuite: Update the test suite (diff) |
www/webkit2-gtk3: fix build on powerpc64
ar is now required for build.
Include ExecutableBaseInlines.h in NativeExecutable.cpp to fix:
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-f2e18ffc-27.cpp.o(.text+0x5300): error: undefined reference to 'JSC::ExecutableBase::hasJITCodeForCall() const'
-rw-r--r-- | www/webkit2-gtk3/Makefile | 1 | ||||
-rw-r--r-- | www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile index e8a3706b35df..64ff11cc37a4 100644 --- a/www/webkit2-gtk3/Makefile +++ b/www/webkit2-gtk3/Makefile @@ -15,6 +15,7 @@ COMMENT= Opensource browser engine using the GTK+ 3 toolkit LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual +BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ diff --git a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp new file mode 100644 index 000000000000..326b47573b1e --- /dev/null +++ b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp @@ -0,0 +1,10 @@ +--- Source/JavaScriptCore/runtime/NativeExecutable.cpp.orig 2021-02-15 20:45:27 UTC ++++ Source/JavaScriptCore/runtime/NativeExecutable.cpp +@@ -24,6 +24,7 @@ + */ + + #include "config.h" ++#include "ExecutableBaseInlines.h" + #include "NativeExecutable.h" + + #include "JSCInlines.h" |