diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-03-02 20:02:34 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-03-02 20:03:16 +0100 |
commit | 2498dca71d0f694dc7fcab6a73a3d04b2c475ea8 (patch) | |
tree | ec1412b4bee000267229a13015d234d9c4fb30ee /package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp | |
parent | 3a0e1284a72e9c8e6c637fa66f37253003de35fc (diff) |
webkitgtk: update and add some patches
Diffstat (limited to 'package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp')
-rw-r--r-- | package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp b/package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp new file mode 100644 index 000000000..f5566ff08 --- /dev/null +++ b/package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp @@ -0,0 +1,15 @@ +--- webkitgtk-2.10.7.orig/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp 2016-01-29 17:29:33.000000000 +0100 ++++ webkitgtk-2.10.7/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp 2016-03-02 19:21:10.000000000 +0100 +@@ -201,8 +201,12 @@ void MemoryPressureHandler::respondToMem + + void MemoryPressureHandler::platformReleaseMemory(Critical) + { ++#ifndef __UCLIBC__ + ReliefLogger log("Run malloc_trim"); + malloc_trim(0); ++#else ++ ReliefLogger log("malloc_trim not available"); ++#endif + } + + void MemoryPressureHandler::ReliefLogger::platformLog() |