aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pygit2/fix-1.0.patch
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-04-02 21:40:48 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-02 21:33:22 +0000
commitfff195823fe922023990f86f9ea32f6426eba024 (patch)
tree456b99cb2001a10a1b59c78c260ffab708539ccc /community/py3-pygit2/fix-1.0.patch
parent9486f6c34b38a23780520c61c24a0f4bc0bbeb6b (diff)
downloadaports-fff195823fe922023990f86f9ea32f6426eba024.tar.bz2
aports-fff195823fe922023990f86f9ea32f6426eba024.tar.xz
community/py3-pygit2: upgrade to 1.1.1
Diffstat (limited to 'community/py3-pygit2/fix-1.0.patch')
-rw-r--r--community/py3-pygit2/fix-1.0.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/py3-pygit2/fix-1.0.patch b/community/py3-pygit2/fix-1.0.patch
new file mode 100644
index 0000000000..81c183946b
--- /dev/null
+++ b/community/py3-pygit2/fix-1.0.patch
@@ -0,0 +1,15 @@
+diff --git a/src/types.h b/src/types.h
+index 86104ffa..1ff222c8 100644
+--- a/src/types.h
++++ b/src/types.h
+@@ -32,8 +32,8 @@
+ #include <Python.h>
+ #include <git2.h>
+
+-#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 99 || LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 0)
+-#error You need a compatible libgit2 version (0.99.x or 1.0.x)
++#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 0)
++#error You need a compatible libgit2 version (1.0.x)
+ #endif
+
+ /*