aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pygit2/fix-1.0.patch
blob: 81c183946b4f1bfc22345fa959f7dde0ce4dd40d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
 
 /*