aboutsummaryrefslogtreecommitdiff
path: root/libraries/webkitgtk3/webkitgtk3.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-04-20 06:58:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-20 06:58:05 +0700
commite6c8dbbd36de93dc77a2ccd3799824ad63b935a8 (patch)
treea4961bd17a3df987a54394864ea21d35e0f28167 /libraries/webkitgtk3/webkitgtk3.SlackBuild
parent797e0928610e67234c272c65b1d75302dc8830a8 (diff)
libraries/webkitgtk3: 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/webkitgtk3/webkitgtk3.SlackBuild')
-rw-r--r--libraries/webkitgtk3/webkitgtk3.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/webkitgtk3/webkitgtk3.SlackBuild b/libraries/webkitgtk3/webkitgtk3.SlackBuild
index a04416f21d8d7..e33636bf8252b 100644
--- a/libraries/webkitgtk3/webkitgtk3.SlackBuild
+++ b/libraries/webkitgtk3/webkitgtk3.SlackBuild
@@ -76,7 +76,10 @@ find -L . \
# Check if geoclue is there
if pkg-config --exists geoclue ; then GEOCLUE="yes" ; else GEOCLUE="no" ; fi
-CFLAGS="$SLKCFLAGS" \
+# Fix for gcc-6.x
+patch -p1 < $CWD/webkitgtk-2.4.9-abs.patch
+
+CFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \