pmaports/luna/qt5-qtwebengine/patches-musl/no-pvalloc.patch
Oliver Smith ca92b35948 Disable LuneOS UI (see #1459) [skip ci]
Moved from aports/main to aports/luna, so we can disable the entire
folder from building in the binary repository:
* qt5-qtwebengine
* postmarketos-ui-luna
2018-05-02 22:38:19 +02:00

13 lines
426 B
Diff

diff --git a/src/core/api/qtbug-61521.cpp b/src/core/api/qtbug-61521.cpp
index 708fcde..13b80a2 100644
--- a/src/core/api/qtbug-61521.cpp
+++ b/src/core/api/qtbug-61521.cpp
@@ -111,7 +111,7 @@ SHIM_HIDDEN void* ShimValloc(size_t size) {
}
SHIM_HIDDEN void* ShimPvalloc(size_t size) {
- return pvalloc(size);
+ return malloc(size);
}
SHIM_HIDDEN int ShimPosixMemalign(void** r, size_t a, size_t s) {