summaryrefslogtreecommitdiffstats
path: root/misc/subsurface/subsurface.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/subsurface/subsurface.SlackBuild')
-rw-r--r--misc/subsurface/subsurface.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild
index f9a817837c..8242455158 100644
--- a/misc/subsurface/subsurface.SlackBuild
+++ b/misc/subsurface/subsurface.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=subsurface
SRCNAM=Subsurface
-VERSION=${VERSION:-4.9.1}
+VERSION=${VERSION:-4.9.3}
GOOGLEMAPSVER=${MD5LONG:-0.0.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,9 @@ 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 {} \;
+# Fix building against newer versions of libgit2
+patch -p1 < $CWD/libgit2-version.patch
+
# Ugly hack to avoid header collision between grantlee and grantlee-qt5.
# https://mail.kde.org/pipermail/release-team/2015-August/008911.html
sed -i 's|#include <grantlee_templates.h>|#include "grantlee_templates_local.h"|' \