diff options
Diffstat (limited to 'libraries/webkitgtk/webkitgtk.SlackBuild')
-rw-r--r-- | libraries/webkitgtk/webkitgtk.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild index 0cb86f4481..3d651f9ebf 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 \ |