summaryrefslogtreecommitdiffstats
path: root/libraries/qt5/qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt5/qt5.SlackBuild')
-rw-r--r--libraries/qt5/qt5.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild
index fff7d43aba..62d71e97b3 100644
--- a/libraries/qt5/qt5.SlackBuild
+++ b/libraries/qt5/qt5.SlackBuild
@@ -103,6 +103,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+# Support for openssl-1.1.x
+( cd qtbase
+ patch -p1 < $CWD/patches/0001-QSslSocket-OpenSSL-1.1-backend.patch )
+
+# Fix for gcc-8.x
+( cd qtwebengine
+ patch -p1 < $CWD/patches/qtwebengine-5.9.6-gcc8.patch )
+
# Limit -reduce-relocations to ix86 and x86_64.
# https://bugreports.qt-project.org/browse/QTBUG-36129
if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then
@@ -131,7 +139,7 @@ if [ "${PROPRIETARY_CODECS:-no}" = "yes" ]; then
fi
export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS -std=c++11"
+export CXXFLAGS="$SLKCFLAGS"
./configure -v \
-confirm-license \
-opensource \
@@ -146,7 +154,7 @@ export CXXFLAGS="$SLKCFLAGS -std=c++11"
-system-sqlite \
-plugin-sql-sqlite \
-icu \
- -openssl-linked \
+ -openssl \
-verbose \
-dbus-linked \
-qpa xcb \
@@ -159,7 +167,6 @@ export CXXFLAGS="$SLKCFLAGS -std=c++11"
-no-strip \
-release \
-no-use-gold-linker \
- -c++std c++11 \
$CODECS \
$PULSE \
$RELOCATIONS \