From 6222c15414b28dae8477e8b1909e381eb9f6e521 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 4 Jan 2016 08:05:15 +0700 Subject: [PATCH] development/zeal: Fix build with new Qt5. Signed-off-by: Willy Sudiarto Raharjo --- development/zeal/qt5.patch | 14 ++++++++++++++ development/zeal/zeal.SlackBuild | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 development/zeal/qt5.patch 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 + #include ++#include + #include + #include + #include + 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