aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pygit2/fix-1.0.patch
diff options
context:
space:
mode:
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
+
+ /*