1
0
forked from pool/python-pygit2
python-pygit2/support-libgit2-1.6.patch

16 lines
462 B
Diff

Index: pygit2-1.11.1/src/types.h
===================================================================
--- pygit2-1.11.1.orig/src/types.h
+++ pygit2-1.11.1/src/types.h
@@ -32,8 +32,8 @@
#include <Python.h>
#include <git2.h>
-#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 5)
-#error You need a compatible libgit2 version (1.5.x)
+#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 6)
+#error You need a compatible libgit2 version (1.6.x)
#endif
/*