aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgit2-glib/libgit2-glib.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2020-05-02 10:19:47 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-03 08:48:37 +0700
commit396f765041f2d52d129253150d561916f8c50955 (patch)
treee4e6f7712f32b66d5e832aeb669e776ea7d37d3f /libraries/libgit2-glib/libgit2-glib.SlackBuild
parent9083bbe6816559ccaf82e0dba1f4d85aff2a178b (diff)
libraries/libgit2-glib: build against newer version of libgit2
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgit2-glib/libgit2-glib.SlackBuild')
-rw-r--r--libraries/libgit2-glib/libgit2-glib.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libgit2-glib/libgit2-glib.SlackBuild b/libraries/libgit2-glib/libgit2-glib.SlackBuild
index 6c30ce25b851d..037d117b38791 100644
--- a/libraries/libgit2-glib/libgit2-glib.SlackBuild
+++ b/libraries/libgit2-glib/libgit2-glib.SlackBuild
@@ -69,6 +69,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 {} \;
+# Build against libgit2 version >= 1.0
+patch -p1 < $CWD/detect-libgit2-version.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson build \