pmaports/luna/qt5-qtwebengine/patches-musl/no-pvalloc.patch

14 lines
426 B
Diff
Raw Normal View History

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) {