mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/zeal: Fix build with new Qt5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e086989014
commit
6222c15414
2 changed files with 16 additions and 1 deletions
14
development/zeal/qt5.patch
Normal file
14
development/zeal/qt5.patch
Normal 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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue