development/zeal: Fix build with new Qt5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-01-04 08:05:15 +07:00
parent e086989014
commit 6222c15414
2 changed files with 16 additions and 1 deletions

View file

@ -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>

View file

@ -24,7 +24,7 @@
PRGNAM=zeal PRGNAM=zeal
VERSION=${VERSION:-0.1.1} VERSION=${VERSION:-0.1.1}
BUILD=${BUILD:-2} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -69,6 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/qt5.patch
export ZEAL_VERSION=${VERSION} export ZEAL_VERSION=${VERSION}
mkdir -p build mkdir -p build
cd build cd build