pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtwebkit



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Mar 28 14:38:50 UTC 2022

Modified Files:
        pkgsrc/x11/qt5-qtwebkit: distinfo
        pkgsrc/x11/qt5-qtwebkit/patches:
            patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp
            patch-Source_WTF_wtf_InlineASM.h

Log Message:
qt5-qtwebkit: implement missing js mcontext stuff for SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/x11/qt5-qtwebkit/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_InlineASM.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/qt5-qtwebkit/distinfo
diff -u pkgsrc/x11/qt5-qtwebkit/distinfo:1.24 pkgsrc/x11/qt5-qtwebkit/distinfo:1.25
--- pkgsrc/x11/qt5-qtwebkit/distinfo:1.24       Sat Mar 26 12:14:25 2022
+++ pkgsrc/x11/qt5-qtwebkit/distinfo    Mon Mar 28 14:38:50 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2022/03/26 12:14:25 tnn Exp $
+$NetBSD: distinfo,v 1.25 2022/03/28 14:38:50 tnn Exp $
 
 BLAKE2s (qtwebkit-5.212.0-alpha4.tar.xz) = 20858db08c7d297037d3ced34e441d4b657325c406b475e4e76dd367dc9c500c
 SHA512 (qtwebkit-5.212.0-alpha4.tar.xz) = 33f11270bd030599beff9c1983a6c5ff2d61f407cc8a6825f7f405d46f9184c720fc7f60c7359f08f828db96a2170092875066a0d5c0a21ff09bc48a2603fbf6
@@ -10,12 +10,12 @@ SHA1 (patch-Source_JavaScriptCore_assemb
 SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = d3ed3a25085752598dc04582eb80636c9cc6eaa9
 SHA1 (patch-Source_JavaScriptCore_dfg_DFGNode.h) = a3eba122c7226a80dacf1b762747fe0a7408b849
 SHA1 (patch-Source_JavaScriptCore_generate-bytecode-files) = b58ca94781fcf7b9f6a3eba715af2784e7a0acc0
-SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = 35f2ba0cc3fe0d76c28a3a244621291a17a5334a
+SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = 2b7dba0d0e87ed96c4d7de6ddb5833209cfe51b5
 SHA1 (patch-Source_JavaScriptCore_jit_ThunkGenerators.cpp) = f0ca56e4b4060c0a8d756289d7c25d1ead6b07be
 SHA1 (patch-Source_JavaScriptCore_tools_CodeProfiling.cpp) = 94c139413eecb875bba98c7749bba24cfcc16632
 SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = 1e4b8cffbd7ec0a6130a0ec2112023bed5c0b78e
 SHA1 (patch-Source_WTF_wtf_Assertions.cpp) = 15b8ac40e49cfec78d46de634fd6a1edde2d2a96
-SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 64ea54605fbe787be57f7423e33802def66d6432
+SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 7ffc086a21f645112ad10296571464a1e15b8b44
 SHA1 (patch-Source_WTF_wtf_MathExtras.h) = 7dac41bf3e50944e49c3e3c29d482d2c3300665d
 SHA1 (patch-Source_WTF_wtf_Platform.h) = 73e8b07e8d7e718abe986a12b9f0b903dfcc4765
 SHA1 (patch-Source_WTF_wtf_ThreadIdentifierDataPthreads.cpp) = bfa570aa20e3508c77bbaebed051821a33f36209

Index: pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp
diff -u pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp:1.3 pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp:1.4
--- pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp:1.3 Fri Dec 13 09:48:02 2019
+++ pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp     Mon Mar 28 14:38:50 2022
@@ -1,10 +1,28 @@
-$NetBSD: patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp,v 1.3 2019/12/13 09:48:02 mrg Exp $
+$NetBSD: patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp,v 1.4 2022/03/28 14:38:50 tnn Exp $
 
 Support NetBSD on x86, arm, arm64 and mips.
+Support SunOS (Illumos-derived) on x86_64 
 
---- Source/JavaScriptCore/heap/MachineStackMarker.cpp.orig     2019-06-26 09:25:02.000000000 -0700
-+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp  2019-12-12 19:40:05.519044971 -0800
-@@ -665,6 +665,22 @@
+--- Source/JavaScriptCore/heap/MachineStackMarker.cpp.orig     2020-03-04 17:16:37.000000000 +0000
++++ Source/JavaScriptCore/heap/MachineStackMarker.cpp
+@@ -54,6 +54,7 @@
+ 
+ #if OS(SOLARIS)
+ #include <thread.h>
++#include <sys/regset.h>
+ #else
+ #include <pthread.h>
+ #endif
+@@ -483,7 +484,7 @@ size_t MachineThreads::Thread::getRegist
+     return sizeof(CONTEXT);
+ #elif USE(PTHREADS)
+     pthread_attr_init(&regs.attribute);
+-#if HAVE(PTHREAD_NP_H) || OS(NETBSD)
++#if HAVE(PTHREAD_NP_H) || OS(NETBSD) || OS(SOLARIS) /* XXX this is OK for Illumos, but not Oracle */
+ #if !OS(OPENBSD)
+     // e.g. on FreeBSD 5.4, neundorf%kde.org@localhost
+     pthread_attr_get_np(platformThread, &regs.attribute);
+@@ -665,6 +666,31 @@ void* MachineThreads::Thread::Registers:
  #error Unknown Architecture
  #endif
  
@@ -24,10 +42,19 @@ Support NetBSD on x86, arm, arm64 and mi
 +#error Unknown Architecture
 +#endif
 +
++#elif OS(SOLARIS)
++#if CPU(X86)
++    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_EBP]);
++#elif CPU(X86_64)
++    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_RBP]);
++#else
++#error Unknown Architecture
++#endif
++
  #elif defined(__GLIBC__)
  
  // The following sequence depends on glibc's sys/ucontext.h.
-@@ -747,6 +763,22 @@
+@@ -747,6 +773,31 @@ void* MachineThreads::Thread::Registers:
  #error Unknown Architecture
  #endif
  
@@ -47,10 +74,19 @@ Support NetBSD on x86, arm, arm64 and mi
 +#error Unknown Architecture
 +#endif
 +
++#elif OS(SOLARIS)
++#if CPU(X86)
++    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_EIP]);
++#elif CPU(X86_64)
++    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_RIP]);
++#else
++#error Unknown Architecture
++#endif
++
  #elif defined(__GLIBC__)
  
  // The following sequence depends on glibc's sys/ucontext.h.
-@@ -838,6 +870,22 @@
+@@ -838,6 +889,31 @@ void* MachineThreads::Thread::Registers:
  #error Unknown Architecture
  #endif
  
@@ -70,6 +106,15 @@ Support NetBSD on x86, arm, arm64 and mi
 +#error Unknown Architecture
 +#endif
 +
++#elif OS(SOLARIS)
++#if CPU(X86)
++#error fixme
++#elif CPU(X86_64)
++    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_R8]);
++#else
++#error Unknown Architecture
++#endif
++
  #elif defined(__GLIBC__)
  
  // The following sequence depends on glibc's sys/ucontext.h.

Index: pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_InlineASM.h
diff -u pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_InlineASM.h:1.1 pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_InlineASM.h:1.2
--- pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_InlineASM.h:1.1        Tue Dec 30 17:23:47 2014
+++ pkgsrc/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_InlineASM.h    Mon Mar 28 14:38:50 2022
@@ -1,11 +1,11 @@
-$NetBSD: patch-Source_WTF_wtf_InlineASM.h,v 1.1 2014/12/30 17:23:47 adam Exp $
+$NetBSD: patch-Source_WTF_wtf_InlineASM.h,v 1.2 2022/03/28 14:38:50 tnn Exp $
 
 * Add NetBSD support
 * Add Solaris/SunOS support
 
---- Source/WTF/wtf/InlineASM.h.orig    2013-11-27 01:01:21.000000000 +0000
+--- Source/WTF/wtf/InlineASM.h.orig    2020-03-04 17:16:37.000000000 +0000
 +++ Source/WTF/wtf/InlineASM.h
-@@ -42,7 +42,7 @@
+@@ -40,7 +40,7 @@
  #define THUMB_FUNC_PARAM(name)
  #endif
  
@@ -14,3 +14,11 @@ $NetBSD: patch-Source_WTF_wtf_InlineASM.
  #define GLOBAL_REFERENCE(name) #name "@plt"
  #elif CPU(X86) && COMPILER(MINGW)
  #define GLOBAL_REFERENCE(name) "@" #name "@4"
+@@ -84,6 +84,7 @@
+     || OS(OPENBSD)             \
+     || OS(HURD)                \
+     || OS(NETBSD)              \
++    || OS(SOLARIS)             \
+     || COMPILER(MINGW)
+     // GNU as-compatible syntax.
+ #define LOCAL_LABEL_STRING(name) ".L" #name



Home | Main Index | Thread Index | Old Index