diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-16 14:44:32 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-16 14:45:35 +0200 |
commit | a6c801b8319f52a82366675a51b0b1267f61dee3 (patch) | |
tree | 8fd91adca21fc1884aa6dcf16fd6abb44ade9c5f /kde-misc/basket/basket-2.49b.ebuild | |
parent | dev-qt/qtlocation: Fix build with >=dev-libs/icu-75 (diff) | |
download | gentoo-a6c801b8319f52a82366675a51b0b1267f61dee3.tar.gz gentoo-a6c801b8319f52a82366675a51b0b1267f61dee3.tar.bz2 gentoo-a6c801b8319f52a82366675a51b0b1267f61dee3.zip |
kde-misc/basket: Fix build with >=dev-libs/libgit2-1.8
Closes: https://bugs.gentoo.org/928338
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/basket/basket-2.49b.ebuild')
-rw-r--r-- | kde-misc/basket/basket-2.49b.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kde-misc/basket/basket-2.49b.ebuild b/kde-misc/basket/basket-2.49b.ebuild index dae7431d3b5e..4fa99dafe9a8 100644 --- a/kde-misc/basket/basket-2.49b.ebuild +++ b/kde-misc/basket/basket-2.49b.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -63,7 +63,12 @@ PATCHES=( ) src_prepare() { + if has_version ">=dev-libs/libgit2-1.8"; then + PATCHES+=( "${FILESDIR}/${P}-libgit2-1.8.patch" ) # bug #928338 + fi + ecm_src_prepare + if ! use test; then sed -e "/add_subdirectory(tests/s/^/#DONT/" -i src/CMakeLists.txt || die fi |