public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/basket/files/
Date: Fri, 10 Apr 2020 14:00:56 +0000 (UTC)	[thread overview]
Message-ID: <1586527223.0c88696b352a14d98f1fa625e8a5e11b6674aa7d.asturm@gentoo> (raw)

commit:     0c88696b352a14d98f1fa625e8a5e11b6674aa7d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 14:00:18 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 14:00:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c88696b

kde-misc/basket: Fix build with >=dev-libs/libgit2-1.0.0-r1

(Merged) upstream commits:
090ac46912025f94aca710355e51a8154df36a56
9a02338bfa60336b7349ff8ac1f85793515ff0e3

Reported-by: Dan Goodliffe <gentoo <AT> randomdan.homeip.net>
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/basket-2.49b-libgit2-0.99-compat.patch   | 32 ++++++++++++++++------
 1 file changed, 24 insertions(+), 8 deletions(-)

diff --git a/kde-misc/basket/files/basket-2.49b-libgit2-0.99-compat.patch b/kde-misc/basket/files/basket-2.49b-libgit2-0.99-compat.patch
index 94793a090f1..d1051af86ac 100644
--- a/kde-misc/basket/files/basket-2.49b-libgit2-0.99-compat.patch
+++ b/kde-misc/basket/files/basket-2.49b-libgit2-0.99-compat.patch
@@ -1,15 +1,29 @@
-From 094580f207b5ba9f44e9af00834f9c93f06fb440 Mon Sep 17 00:00:00 2001
-From: Dan Goodliffe <dan@randomdan.homeip.net>
-Date: Thu, 27 Feb 2020 18:04:21 +0000
-Subject: [PATCH] Use LIBGIT2_VER_MINOR for version test
+From 090ac46912025f94aca710355e51a8154df36a56 Mon Sep 17 00:00:00 2001
+From: Niccol Venerandi <niccolo@venerandi.com>
+Date: Wed, 11 Mar 2020 18:46:07 +0100
+Subject: [PATCH 1/2] Added support for libgit>=.99
 
-Addresses compatibility with libgit2-0.99
+Summary: LIBGIT2_SOVERSION no longer returns an integer in libgit>=.99; this adds support for that version and 1.0 to come.
+
+Differential Revision: https://phabricator.kde.org/D27990
+
+
+From 9a02338bfa60336b7349ff8ac1f85793515ff0e3 Mon Sep 17 00:00:00 2001
+From: Niccol Venerandi <niccolo@venerandi.com>
+Date: Thu, 12 Mar 2020 10:53:05 +0100
+Subject: [PATCH 2/2] LIBGIT_VER_MINOR is supposed to be LIBGIT2_VER_MINOR
+
+Reviewers: ognarb
+
+Reviewed By: ognarb
+
+Differential Revision: https://phabricator.kde.org/D28001
 ---
  src/application.cpp | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/application.cpp b/src/application.cpp
-index c52fb574..81fcd121 100644
+index c52fb57..b673848 100644
 --- a/src/application.cpp
 +++ b/src/application.cpp
 @@ -56,7 +56,7 @@ Application::Application(int &argc, char **argv)
@@ -17,7 +31,7 @@ index c52fb574..81fcd121 100644
  
      #ifdef WITH_LIBGIT2
 -        #if LIBGIT2_SOVERSION >= 22
-+        #if LIBGIT2_VER_MINOR >= 22
++        #if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 22)
              git_libgit2_init();
          #else
              git_threads_init();
@@ -26,7 +40,9 @@ index c52fb574..81fcd121 100644
  {
      #ifdef WITH_LIBGIT2
 -        #if LIBGIT2_SOVERSION >= 22
-+        #if LIBGIT2_VER_MINOR >= 22
++        #if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 22)
              git_libgit2_shutdown();
          #else
              git_threads_shutdown();
+-- 
+2.26.0


                 reply	other threads:[~2020-04-10 14:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1586527223.0c88696b352a14d98f1fa625e8a5e11b6674aa7d.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox