From 9281db163813ed12386de28eb2a3cf3076801414 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Tue, 25 Feb 2020 19:43:21 +0000
Subject: libgit2-0.99 fix for basket

---
 kde-misc/basket/libgit2-0.99.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 kde-misc/basket/libgit2-0.99.patch

diff --git a/kde-misc/basket/libgit2-0.99.patch b/kde-misc/basket/libgit2-0.99.patch
new file mode 100644
index 0000000..b900fbb
--- /dev/null
+++ b/kde-misc/basket/libgit2-0.99.patch
@@ -0,0 +1,22 @@
+diff --git a/src/application.cpp b/src/application.cpp
+index c52fb57..81fcd12 100644
+--- a/src/application.cpp
++++ b/src/application.cpp
+@@ -56,7 +56,7 @@ Application::Application(int &argc, char **argv)
+ 
+ 
+     #ifdef WITH_LIBGIT2
+-        #if LIBGIT2_SOVERSION >= 22
++        #if LIBGIT2_VER_MINOR >= 22
+             git_libgit2_init();
+         #else
+             git_threads_init();
+@@ -67,7 +67,7 @@ Application::Application(int &argc, char **argv)
+ Application::~Application()
+ {
+     #ifdef WITH_LIBGIT2
+-        #if LIBGIT2_SOVERSION >= 22
++        #if LIBGIT2_VER_MINOR >= 22
+             git_libgit2_shutdown();
+         #else
+             git_threads_shutdown();
-- 
cgit v1.2.3