diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-06 20:46:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-06 20:48:22 +0200 |
commit | cb4400a349ef5b5d26023355011d518093df632b (patch) | |
tree | 4fe046e03926719e209b30ea17d22e53c40ed33d /package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp | |
parent | 718713ef32aa4f6354ef951a16bb2cfbc0761913 (diff) |
webkitgtk: update to 2.12.0
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 | 16 |
1 files changed, 6 insertions, 10 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 index f5566ff08..103391413 100644 --- a/package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp +++ b/package/webkitgtk/patches/patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp @@ -1,15 +1,11 @@ ---- 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 +--- webkitgtk-2.12.0.orig/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp 2016-03-22 09:38:02.000000000 +0100 ++++ webkitgtk-2.12.0/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp 2016-04-05 09:42:03.711465052 +0200 +@@ -201,7 +201,7 @@ void MemoryPressureHandler::respondToMem void MemoryPressureHandler::platformReleaseMemory(Critical) { -+#ifndef __UCLIBC__ +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) ReliefLogger log("Run malloc_trim"); malloc_trim(0); -+#else -+ ReliefLogger log("malloc_trim not available"); -+#endif - } - - void MemoryPressureHandler::ReliefLogger::platformLog() + #endif |