void-packages/srcpkgs/qt-webkit/files/fix-mallinfo.patch
Jürgen Buchmüller 38bad67383 New package: qt-webkit-2.3.4
The idea to have a separate qt-webkit package which builds with gcc6
is taken from the Arch Linux team's efforts:
https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/qtwebkit

This addresses #4748 the unsolvable(?) problems when trying to build the
shipped qtwebkit that comes with qt-4.7.8 with gcc6.
2016-09-19 05:57:22 +02:00

11 lines
438 B
Diff

--- qtwebkit-2.3.4/Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp 2014-09-24 13:42:05.000000000 +0200
+++ qtwebkit-2.3.4/Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp 2016-09-17 23:48:23.558775636 +0200
@@ -31,7 +31,7 @@
namespace WebCore {
-#if OS(LINUX)
+#if OS(LINUX) && defined(__GLIBC__)
static size_t mallocMemoryUsage(bool inuse)
{
// Return how much memory (in bytes) has been allocated on the system heap.