summaryrefslogtreecommitdiff
path: root/source/l/qt5-webkit/qt5-webkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/qt5-webkit/qt5-webkit.SlackBuild')
-rwxr-xr-xsource/l/qt5-webkit/qt5-webkit.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/l/qt5-webkit/qt5-webkit.SlackBuild b/source/l/qt5-webkit/qt5-webkit.SlackBuild
index 120b5524..6717b45b 100755
--- a/source/l/qt5-webkit/qt5-webkit.SlackBuild
+++ b/source/l/qt5-webkit/qt5-webkit.SlackBuild
@@ -28,7 +28,7 @@ PKGNAM=qt5-webkit
SRCNAM=qtwebkit
SRCVER=${SRCVER:-5.212.0-alpha4}
VERSION=$(echo $SRCVER | tr - _)
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -97,6 +97,12 @@ else
RELOCATIONS=""
fi
+# Fix for icu 68.1 no longer defining TRUE and FALSE externally:
+zcat $CWD/qt5-webkit.icu68_1.diff.gz | patch -p1 --verbose || exit 1
+
+# Fix for bison 3.7.x:
+zcat $CWD/qt5-webkit.bison27.patch.gz | patch -p1 --verbose || exit 1
+
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS -fpermissive -fno-strict-aliasing"
export OPENSOURCE_CXXFLAGS="$SLKCFLAGS -fpermissive -fno-strict-aliasing"