aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgit2-glib/libgit2-glib.SlackBuild
diff options
context:
space:
mode:
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 \