Mail archive

Re: [alpine-aports] [PATCH] testing/webkit2gtk: new aport

From: Jiri Horner <>
Date: Wed, 4 Nov 2015 19:21:18 +0100

>This all sounds great to me. lets do it.
>There appear to be a build error (32bit atleast):
>[ 13%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/linux/MemoryPressureHandlerLinux.cpp.o
>/home/ncopa/aports/testing/webkit2gtk/src/webkitgtk-2.10.3/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp: In member function 'void WebCore::MemoryPressureHandler::platformReleaseMemory(WebCore::Critical)':
>/home/ncopa/aports/testing/webkit2gtk/src/webkitgtk-2.10.3/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp:205:18: error: 'malloc_trim' was not declared in this scope
> malloc_trim(0);
> ^
>Source/WebCore/CMakeFiles/WebCore.dir/build.make:60331: recipe for target 'Source/WebCore/CMakeFiles/WebCore.dir/platform/linux/MemoryPressureHandlerLinux.cpp.o' failed
>make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/platform/linux/MemoryPressureHandlerLinux.cpp.o] Error 1
>CMakeFiles/Makefile2:642: recipe for target 'Source/WebCore/CMakeFiles/WebCore.dir/all' failed
>make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
>Makefile:149: recipe for target 'all' failed
>make: *** [all] Error 2

I'm sorry, mea culpa. I have forgotten to add one of the patches to APKBUILD.
This patch deals with problem (glibc malloc.h extension).

New patch attached.


Received on Wed Nov 04 2015 - 19:21:18 GMT