summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-07-01 15:49:16 +0000
committeradam <adam@pkgsrc.org>2019-07-01 15:49:16 +0000
commit61f1c07d1d3fecb3204c734667758a7d1ccdf764 (patch)
tree7ca728f8d01dd3beede3739ed6b1c0e0375e84bc /x11
parent57703851c236ce84479cfa30b8ad68b1a014ac61 (diff)
downloadpkgsrc-61f1c07d1d3fecb3204c734667758a7d1ccdf764.tar.gz
qt5-qtscript: fix for LTO builds
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qtscript/distinfo3
-rw-r--r--x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/qt5-qtscript/distinfo b/x11/qt5-qtscript/distinfo
index 4bc4313c828..fd6cca04383 100644
--- a/x11/qt5-qtscript/distinfo
+++ b/x11/qt5-qtscript/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.12 2019/07/01 05:49:45 adam Exp $
+$NetBSD: distinfo,v 1.13 2019/07/01 15:49:16 adam Exp $
SHA1 (qtscript-everywhere-src-5.12.4.tar.xz) = b1b50e5c18d91ea0661e501282b904d8a9e3453f
RMD160 (qtscript-everywhere-src-5.12.4.tar.xz) = 624660cb8b869e0f8c16f7058fd2759691f0581b
SHA512 (qtscript-everywhere-src-5.12.4.tar.xz) = 6d3b802c7cdfb270318b9210df4ad9dbd2d29f485d9194051dbf278a48c25cc5c6311adeaf56b4fe2a7746dbc10234544e75e61a2e9c86f653aed0a92e07e717
Size (qtscript-everywhere-src-5.12.4.tar.xz) = 2675028 bytes
SHA1 (patch-src_3rdparty_javascriptcore_JavaScriptCore_config.h) = e46033a23803b4e27dcd7f5369730e046ad5e4cb
+SHA1 (patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h) = 155ac7bdf0d41a6ca8a8234a99886799c7275d4f
SHA1 (patch-src_3rdparty_javascriptcore_JavaScriptCore_runtime_JSValue.h) = 6672e941f0ecbba35b5b932ab9f7b49a269fb6e6
SHA1 (patch-src_3rdparty_javascriptcore_JavaScriptCore_wtf_Platform.h) = 5467afc8dc5e2f93a267a6ab380bb647c501d145
SHA1 (patch-src_3rdparty_javascriptcore_JavaScriptCore_yarr_RegexJIT.h) = bf6a3cbfcd5a237953f5fa6e213faaf5e5153aa8
diff --git a/x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h b/x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h
new file mode 100644
index 00000000000..2eba9e17e50
--- /dev/null
+++ b/x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h,v 1.1 2019/07/01 15:49:16 adam Exp $
+
+Fix for LTO builds.
+
+--- src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h.orig 2019-07-01 15:35:48.000000000 +0000
++++ src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h
+@@ -316,7 +316,7 @@ extern "C" {
+ EncodedJSValue JIT_STUB cti_op_to_primitive(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_op_typeof(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_op_urshift(STUB_ARGS_DECLARATION);
+- EncodedJSValue JIT_STUB cti_vm_throw(STUB_ARGS_DECLARATION);
++ EncodedJSValue JIT_STUB cti_vm_throw(STUB_ARGS_DECLARATION) __attribute__((used));
+ EncodedJSValue JIT_STUB cti_to_object(STUB_ARGS_DECLARATION);
+ JSObject* JIT_STUB cti_op_construct_JSConstruct(STUB_ARGS_DECLARATION);
+ JSObject* JIT_STUB cti_op_new_array(STUB_ARGS_DECLARATION);