aboutsummaryrefslogtreecommitdiff
path: root/libraries/webkitgtk/webkitgtk.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-04-20 06:55:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-20 06:56:26 +0700
commit797e0928610e67234c272c65b1d75302dc8830a8 (patch)
treea9c1ea2440e7ee6a45521cb2b8b7553f6791b569 /libraries/webkitgtk/webkitgtk.SlackBuild
parent72844572c37b226d85f8c4cefd8722c7997361e4 (diff)
libraries/webkitgtk: Patch for gcc-6.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/webkitgtk/webkitgtk.SlackBuild')
-rw-r--r--libraries/webkitgtk/webkitgtk.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild
index 0cb86f4481daf..3d651f9ebfa6a 100644
--- a/libraries/webkitgtk/webkitgtk.SlackBuild
+++ b/libraries/webkitgtk/webkitgtk.SlackBuild
@@ -72,8 +72,11 @@ find -L . \
# Check if geoclue is there
if pkg-config --exists geoclue ; then GEOCLUE="yes" ; else GEOCLUE="no" ; fi
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+# Fix for gcc-6.x
+patch -p1 < $CWD/webkitgtk-2.4.9-abs.patch
+
+CFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks" \
+CXXFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks" \
./configure \
--prefix=/usr \
--disable-static \