pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtscript qt5-qtscript: fix for LTO builds



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad9af9cb496f
branches:  trunk
changeset: 335808:ad9af9cb496f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jul 01 15:49:16 2019 +0000

description:
qt5-qtscript: fix for LTO builds

diffstat:

 x11/qt5-qtscript/distinfo                                                                |   3 +-
 x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 29006f2fbf1a -r ad9af9cb496f x11/qt5-qtscript/distinfo
--- a/x11/qt5-qtscript/distinfo Mon Jul 01 15:49:02 2019 +0000
+++ b/x11/qt5-qtscript/distinfo Mon Jul 01 15:49:16 2019 +0000
@@ -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 -r 29006f2fbf1a -r ad9af9cb496f x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt5-qtscript/patches/patch-src_3rdparty_javascriptcore_JavaScriptCore_jit_JITStubs.h  Mon Jul 01 15:49:16 2019 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index