summaryrefslogtreecommitdiff
path: root/experimental/qt5-qtwebkit/musl-thread-stacksize.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-04 20:27:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-04 20:27:02 +0000
commit1a2f56911fe9fb165f1ac3bea19897b76d1d49b5 (patch)
tree527615f90d00c82535e03bf26c9f790af7f98808 /experimental/qt5-qtwebkit/musl-thread-stacksize.patch
parent474dbb6054045d2916a25e5d1fc0950c2ad1adad (diff)
downloadpackages-1a2f56911fe9fb165f1ac3bea19897b76d1d49b5.tar.gz
packages-1a2f56911fe9fb165f1ac3bea19897b76d1d49b5.tar.bz2
packages-1a2f56911fe9fb165f1ac3bea19897b76d1d49b5.tar.xz
packages-1a2f56911fe9fb165f1ac3bea19897b76d1d49b5.zip
user/qt5-qtwebkit: Bump to 5.212.0 git snapshot
This is required to build against Qt 5.12 and supports ppc64.
Diffstat (limited to 'experimental/qt5-qtwebkit/musl-thread-stacksize.patch')
-rw-r--r--experimental/qt5-qtwebkit/musl-thread-stacksize.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/experimental/qt5-qtwebkit/musl-thread-stacksize.patch b/experimental/qt5-qtwebkit/musl-thread-stacksize.patch
deleted file mode 100644
index e790222dc..000000000
--- a/experimental/qt5-qtwebkit/musl-thread-stacksize.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- qtwebkit-5.212.0-alpha2/Source/WTF/wtf/ThreadingPthreads.cpp.old 2017-06-04 15:16:06.000000000 -0500
-+++ qtwebkit-5.212.0-alpha2/Source/WTF/wtf/ThreadingPthreads.cpp 2018-09-05 02:29:45.980000000 +0000
-@@ -107,10 +107,11 @@
- void initializeThreading()
- {
- static bool isInitialized;
-+ pthread_attr_t attr;
-
- if (isInitialized)
- return;
-
- isInitialized = true;
-
- WTF::double_conversion::initialize();
-@@ -122,6 +122,11 @@
- ThreadIdentifierData::initializeOnce();
- wtfThreadData();
- initializeDates();
-+
-+ pthread_attr_init(&attr);
-+ pthread_attr_setstacksize(&attr, 2097152);
-+ pthread_setattr_default_np(&attr);
-+ pthread_attr_destroy(&attr);
- }
-
- static ThreadMap& threadMap()
-@@ -171,6 +171,7 @@
- pthread_t threadHandle;
- pthread_attr_t attr;
- pthread_attr_init(&attr);
-+ pthread_attr_setstacksize(&attr, 2097152);
- #if HAVE(QOS_CLASSES)
- pthread_attr_set_qos_class_np(&attr, QOS_CLASS_USER_INITIATED, 0);
- #endif
---- qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/Options.h.old 2017-06-04 20:16:05.000000000 +0000
-+++ qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/Options.h 2018-09-26 03:02:39.700000000 +0000
-@@ -112,9 +112,9 @@
- \
- v(bool, reportMustSucceedExecutableAllocations, false, nullptr) \
- \
-- v(unsigned, maxPerThreadStackUsage, 4 * MB, nullptr) \
-- v(unsigned, reservedZoneSize, 128 * KB, nullptr) \
-- v(unsigned, errorModeReservedZoneSize, 64 * KB, nullptr) \
-+ v(unsigned, maxPerThreadStackUsage, 512 * KB, nullptr) \
-+ v(unsigned, reservedZoneSize, 32 * KB, nullptr) \
-+ v(unsigned, errorModeReservedZoneSize, 16 * KB, nullptr) \
- \
- v(bool, crashIfCantAllocateJITMemory, false, nullptr) \
- v(unsigned, jitMemoryReservationSize, 0, "Set this number to change the executable allocation size in ExecutableAllocatorFixedVMPool. (In bytes.)") \