summaryrefslogtreecommitdiff
path: root/development/zeal
diff options
context:
space:
mode:
Diffstat (limited to 'development/zeal')
-rw-r--r--development/zeal/qt5.patch14
-rw-r--r--development/zeal/zeal.SlackBuild3
2 files changed, 16 insertions, 1 deletions
diff --git a/development/zeal/qt5.patch b/development/zeal/qt5.patch
new file mode 100644
index 0000000000..6873332505
--- /dev/null
+++ b/development/zeal/qt5.patch
@@ -0,0 +1,14 @@
+https://github.com/zealdocs/zeal/issues/376
+https://github.com/zealdocs/zeal/issues/380
+
+--- a/src/main.cpp 2015-04-19 23:08:52.000000000 +0000
++++ b/src/main.cpp 2015-08-18 22:36:56.408596690 +0000
+@@ -3,6 +3,7 @@
+
+ #include <QApplication>
+ #include <QCommandLineParser>
++#include <QDataStream>
+ #include <QDir>
+ #include <QLocalSocket>
+ #include <QStandardPaths>
+
diff --git a/development/zeal/zeal.SlackBuild b/development/zeal/zeal.SlackBuild
index 0819a598a8..22a92d74e6 100644
--- a/development/zeal/zeal.SlackBuild
+++ b/development/zeal/zeal.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=zeal
VERSION=${VERSION:-0.1.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,7 @@ 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 {} \;
+patch -p1 < $CWD/qt5.patch
export ZEAL_VERSION=${VERSION}
mkdir -p build
cd build