pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt4-libs deal with aarch64 in webkit wtf for qt4-libs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a189b2c8828
branches:  trunk
changeset: 351834:7a189b2c8828
user:      richard <richard%pkgsrc.org@localhost>
date:      Tue Aug 30 07:58:27 2016 +0000

description:
deal with aarch64 in webkit wtf for qt4-libs

diffstat:

 x11/qt4-libs/distinfo                                                               |   3 +-
 x11/qt4-libs/options.mk                                                             |   4 +-
 x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h |  25 ++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

diffs (64 lines):

diff -r 31042c08250b -r 7a189b2c8828 x11/qt4-libs/distinfo
--- a/x11/qt4-libs/distinfo     Tue Aug 30 07:45:51 2016 +0000
+++ b/x11/qt4-libs/distinfo     Tue Aug 30 07:58:27 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.109 2016/05/31 21:35:11 joerg Exp $
+$NetBSD: distinfo,v 1.110 2016/08/30 07:58:27 richard Exp $
 
 SHA1 (qt-everywhere-opensource-src-4.8.7.tar.gz) = 76aef40335c0701e5be7bb3a9101df5d22fe3666
 RMD160 (qt-everywhere-opensource-src-4.8.7.tar.gz) = afb5e5a99388e6429faca59cb5000054feffd166
@@ -57,6 +57,7 @@
 SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_HashSet.h) = 25654a9f2cedb17b5f536b324e47d56eb4010029
 SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_MathExtras.h) = 68152f0077ec5bcce1b3774aaac64af5fd9e491e
 SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_NullPtr.h) = 3c1dbd49e236669fe9849918e571eed58980421b
+SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h) = 8f398aebc6d1b380c271489248efd92a35c7e23d
 SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_RefCountedLeakCounter.h) = fc4686c018471fcae375d9382737e0844a0f45a8
 SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_StringImpl.h) = d5460bede6b3662df4d9dbec5826db98c6ef4f61
 SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_ThreadSafeRefCounted.h) = 2d3176beb56697d033387ab10729cfb6681d01c7
diff -r 31042c08250b -r 7a189b2c8828 x11/qt4-libs/options.mk
--- a/x11/qt4-libs/options.mk   Tue Aug 30 07:45:51 2016 +0000
+++ b/x11/qt4-libs/options.mk   Tue Aug 30 07:58:27 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2014/06/18 09:26:12 wiz Exp $
+# $NetBSD: options.mk,v 1.7 2016/08/30 07:58:27 richard Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.qt4
 PKG_SUPPORTED_OPTIONS= cups debug gtk2
@@ -6,7 +6,7 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mcups)
-.  include "../../print/cups15/buildlink3.mk"
+.  include "../../print/cups/buildlink3.mk"
 CONFIGURE_ARGS+=       -cups
 .else
 CONFIGURE_ARGS+=       -no-cups
diff -r 31042c08250b -r 7a189b2c8828 x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h       Tue Aug 30 07:58:27 2016 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h,v 1.1 2016/08/30 07:58:27 richard Exp $
+deal with aarch64
+--- src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.orig      2015-05-07 14:14:45.000000000 +0000
++++ src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
+@@ -373,6 +373,10 @@
+ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
+ #endif
+ 
++/* CPU(AARCH64) */
++#if defined(__aarch64__)
++#define WTF_CPU_AARCH64 1
++#endif
+ /* ==== OS() - underlying operating system; only to be used for mandated low-level services like 
+    virtual memory, not to choose a GUI toolkit ==== */
+ 
+@@ -1003,7 +1007,8 @@
+     || CPU(SPARC64) \
+     || CPU(S390X) \
+     || CPU(PPC64) \
+-    || CPU(MIPS64)
++    || CPU(MIPS64) \
++    || CPU(AARCH64)
+ #define WTF_USE_JSVALUE64 1
+ #else
+ #define WTF_USE_JSVALUE32_64 1



Home | Main Index | Thread Index | Old Index