aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtwebengine/qt-musl-pvalloc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-02 07:49:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-07 11:44:31 +0000
commit29eea5b912889bee4c52d1b721ae352839d87a35 (patch)
tree19a4a1e726e3149f2d47d1d3cf01e78737dd65dd /testing/qt5-qtwebengine/qt-musl-pvalloc.patch
parent227d766c1976eca1e2ab1dd70ce6a32d3243069a (diff)
downloadaports-29eea5b912889bee4c52d1b721ae352839d87a35.tar.bz2
aports-29eea5b912889bee4c52d1b721ae352839d87a35.tar.xz
testing/qt5-qtwebengine: new aport
Diffstat (limited to 'testing/qt5-qtwebengine/qt-musl-pvalloc.patch')
-rw-r--r--testing/qt5-qtwebengine/qt-musl-pvalloc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/qt5-qtwebengine/qt-musl-pvalloc.patch b/testing/qt5-qtwebengine/qt-musl-pvalloc.patch
new file mode 100644
index 0000000000..d5caf3836d
--- /dev/null
+++ b/testing/qt5-qtwebengine/qt-musl-pvalloc.patch
@@ -0,0 +1,14 @@
+--- qtwebengine/src/core/api/qtbug-61521.cpp 2017-11-29 09:42:29.000000000 +0100
++++ qtwebengine/src/core/api/qtbug-61521.cpp 2018-01-28 06:49:29.454175725 +0100
+@@ -111,7 +111,11 @@
+ }
+
+ SHIM_HIDDEN void* ShimPvalloc(size_t size) {
++#if defined(__GLIBC__)
+ return pvalloc(size);
++#else
++ return valloc((size+4095)&~4095);
++#endif
+ }
+
+ SHIM_HIDDEN int ShimPosixMemalign(void** r, size_t a, size_t s) {