summaryrefslogtreecommitdiff
path: root/misc/subsurface/subsurface.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-08-23 13:46:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-23 13:46:32 +0700
commit84153486e94fd3dcc19e828ab28b9b5b500cba31 (patch)
tree1623321bbc68544fdb6a89c9e92fa4922b2d18a2 /misc/subsurface/subsurface.SlackBuild
parent5e10364601e9687471f81af894cdb64fd63a60d3 (diff)
downloadslackbuilds-84153486e94fd3dcc19e828ab28b9b5b500cba31.tar.gz
misc/subsurface: Added patch for newer libgit2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/subsurface/subsurface.SlackBuild')
-rw-r--r--misc/subsurface/subsurface.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild
index 20bc7977d6..d3c07d9312 100644
--- a/misc/subsurface/subsurface.SlackBuild
+++ b/misc/subsurface/subsurface.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=subsurface
SRCNAM=Subsurface
VERSION=${VERSION:-4.4.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,6 +74,8 @@ find -L . \
sed -i '/MANDIR =/s|=.*|= /usr/man/man1|' $PRGNAM-install.pri
# Build with Qt4.
patch -p1 < packaging/ubuntu/0001-Make-build-with-Qt4.patch
+# Build with newer libgit2.
+patch -Np1 < $CWD/libgit2-0.23.x.patch
qmake PREFX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
V=1 -config release -o Makefile $PRGNAM.pro