Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=1d551aa57295ab3a745c252a550a3eda5d3dd231

commit 1d551aa57295ab3a745c252a550a3eda5d3dd231
Author: crazy <cr...@frugalware.org>
Date:   Thu Sep 22 17:56:51 2016 +0200

qt5-webengine-5.7.0-4-x86_64
* kill MADV_FREE, fixes these ILL_ILLOPN crashes

diff --git a/source/xlib/qt5-webengine/FrugalBuild 
b/source/xlib/qt5-webengine/FrugalBuild
index 3ea4257..d3e3b95 100644
--- a/source/xlib/qt5-webengine/FrugalBuild
+++ b/source/xlib/qt5-webengine/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=qt5-webengine
pkgver=5.7.0
-pkgrel=3
+pkgrel=4
depends=('qt5-declarative>=5.7.0-2' 'qt5-webchannel>=5.7.0-2' 
'qt5-location>=5.7.0-2' 'libxcomposite>=0.4.4-3' \
'libxrandr>=1.5.0-5' 'nss>=3.26' 'libxtst>=1.2.2-3' 'libxscrnsaver>=1.2.2-3' 
'zlib>=1.2.8-8' 'libwebp>=0.5.1-2' \
'libxml2>=2.9.4-3' 'libevent>=2.0.22-4' 'jsoncpp>=1.7.5' 'opus>=1.1.3-2' 
'libvpx>=1.6.0-2' 'snappy>=1.1.3-4' \
@@ -11,14 +11,17 @@ depends=('qt5-declarative>=5.7.0-2' 
'qt5-webchannel>=5.7.0-2' 'qt5-location>=5.7
makedepends=('git' 're2c>=0.16-2' 'x11-protos')
Finclude qt5
archs=('x86_64' 'i686')
-source+=(libjpeg.patch QTBUG-53956.patch QTBUG-53956-2.patch)
+source+=(libjpeg.patch QTBUG-53956.patch QTBUG-53956-2.patch glibc2.24.patch)
replaces=('libqt5webengine')
conflicts=("${replaces[@]}")
provides=("${replaces[@]}")
sha1sums=('bff07a36115d0a3f44e396c738ce9579ef2cec5b' \
'fc40f2d0b97dfec78b3ca4a125dee8edbbd4da0a' \
'1decf0237dfc3ff8135ce8f9c104cffa8b25bf36' \
-          'bb06b2d20078107dc55f2ba7f26bf6c4081a8f88')
+          'bb06b2d20078107dc55f2ba7f26bf6c4081a8f88' \
+          '55b2d4527ed081b299ab867e25be3f49b8b1ee9b')
+
+CXXFLAGS+=" -Wno-deprecated -Wno-deprecated-declarations"

build()
{
diff --git a/source/xlib/qt5-webengine/glibc2.24.patch 
b/source/xlib/qt5-webengine/glibc2.24.patch
new file mode 100644
index 0000000..5ecfa71
--- /dev/null
+++ b/source/xlib/qt5-webengine/glibc2.24.patch
@@ -0,0 +1,32 @@
+From b12ffcd411d4776f7120ccecb3be34344d930d2b Mon Sep 17 00:00:00 2001
+From: Allan Sandfeld Jensen <allan.jen...@theqtcompany.com>
+Date: Tue, 9 Aug 2016 16:21:29 +0200
+Subject: Do not depend on Linux 4.5
+
+Avoid using MADV_FREE that was only recently added to Linux. It will fail when
+run on older Linux kernels.
+
+Change-Id: I9b0369fb31402f088b2327c12f70dd39f5e4c8c0
+Reviewed-by: Peter Varga <pva...@inf.u-szeged.hu>
+---
+ chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git 
a/src/3rdparty/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp 
b/src/3rdparty/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp
+index 121b687..be7c3b9 100644
+--- a/src/3rdparty/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp
++++ b/src/3rdparty/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp
+@@ -39,6 +39,11 @@
+
+ #include <sys/mman.h>
+
++#if OS(LINUX) && defined(MADV_FREE)
++// Added in Linux 4.5, but we don't want to depend on 4.5 at runtime
++#undef MADV_FREE
++#endif
++
+ #ifndef MADV_FREE
+ #define MADV_FREE MADV_DONTNEED
+ #endif
+--
+cgit v1.0-4-g1e03
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to