aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-04 08:05:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-09 07:12:22 +0700
commit6222c15414b28dae8477e8b1909e381eb9f6e521 (patch)
tree08736c738479f8a91fda29e91a8350ec80ddece7 /development
parente086989014c41aef3704776adc0ac6891556f9c3 (diff)
development/zeal: Fix build with new Qt5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-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 0000000000000..6873332505aae
--- /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 0819a598a83a6..22a92d74e646b 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