Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2021 21:21:04 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565342 - in head/www/webkit2-gtk3: . files
Message-ID:  <202102152121.11FLL47j039067@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Feb 15 21:21:04 2021
New Revision: 565342
URL: https://svnweb.freebsd.org/changeset/ports/565342

Log:
  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'

Added:
  head/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp   (contents, props changed)
Modified:
  head/www/webkit2-gtk3/Makefile

Modified: head/www/webkit2-gtk3/Makefile
==============================================================================
--- head/www/webkit2-gtk3/Makefile	Mon Feb 15 21:17:01 2021	(r565341)
+++ head/www/webkit2-gtk3/Makefile	Mon Feb 15 21:21:04 2021	(r565342)
@@ -15,6 +15,7 @@ COMMENT=	Opensource browser engine using the GTK+ 3 to
 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 \

Added: head/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_runtime_NativeExecutable.cpp	Mon Feb 15 21:21:04 2021	(r565342)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102152121.11FLL47j039067>