public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/eza/
Date: Thu, 21 Mar 2024 07:24:41 +0000 (UTC)	[thread overview]
Message-ID: <1711005804.33dc6e48239260260f01a7348092a03d52ddd30e.ionen@gentoo> (raw)

commit:     33dc6e48239260260f01a7348092a03d52ddd30e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 21 07:19:01 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 07:23:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33dc6e48

sys-apps/eza: fix build with >=libgit2-1.8.0

libgit2-sys crate has a upper bound for <1.8.0 and refuses
to build otherwise, but not seeing(?) any issues with it.

Just a quick emergency fix, will likely be fixed next libgit2-sys
version. Kept full version in the sed's path rather than a glob
to force re-checking this when the crate is bumped.

Alternatively could drop LIBGIT2_NO_VENDOR or set an upper bound
in RDEPEND, but does not seem necessary.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 sys-apps/eza/eza-0.18.6.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys-apps/eza/eza-0.18.6.ebuild b/sys-apps/eza/eza-0.18.6.ebuild
index 2e5c5ec4a7ec..0bd577b67434 100644
--- a/sys-apps/eza/eza-0.18.6.ebuild
+++ b/sys-apps/eza/eza-0.18.6.ebuild
@@ -223,6 +223,12 @@ src_prepare() {
 	rm tests/cmd/absolute{,_recurse}_unix.toml
 
 	sed -i -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to disable stripping"
+
+	if use git; then
+		# libgit2-sys unnecessarily(?) requests <libgit2-1.8.0, bump to 2 for now
+		sed -e '/range_version/s/1\.8\.0/2/' \
+			-i "${ECARGO_VENDOR}"/libgit2-sys-0.16.2+1.7.2/build.rs || die
+	fi
 }
 
 src_configure() {


             reply	other threads:[~2024-03-21  7:24 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  7:24 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-10  6:50 [gentoo-commits] repo/gentoo:master commit in: sys-apps/eza/ Yixun Lan
2024-09-27 19:48 Yixun Lan
2024-09-27 19:48 Yixun Lan
2024-09-09 11:51 Yixun Lan
2024-08-21  7:51 Joonas Niilola
2024-08-21  7:51 Joonas Niilola
2024-07-07  2:05 Sam James
2024-07-07  2:05 Sam James
2024-07-04  3:22 Sam James
2024-07-04  1:18 Sam James
2024-06-06  6:47 Sam James
2024-06-06  6:17 Joonas Niilola
2024-06-05 20:10 Arthur Zamarin
2024-04-30  6:42 Sam James
2024-03-11 10:50 Petr Vaněk
2024-03-09 11:03 Jakov Smolić
2024-03-09  6:47 Joonas Niilola
2024-03-08 23:58 Sam James
2024-03-04  6:00 Sam James
2024-03-02 10:06 Arthur Zamarin
2024-01-28 17:34 Matt Turner
2024-01-21  4:02 Sam James
2024-01-16  8:39 Florian Schmaus
2024-01-16  8:39 Florian Schmaus
2024-01-16  8:39 Florian Schmaus
2024-01-13 13:09 Florian Schmaus
2023-12-17  6:20 Arthur Zamarin
2023-12-08  6:46 Joonas Niilola
2023-12-08  6:46 Joonas Niilola
2023-11-30  2:08 Sam James
2023-11-13  6:44 Sam James
2023-10-27  7:11 Florian Schmaus
2023-10-25 16:57 Jakov Smolić
2023-10-20  9:14 Florian Schmaus
2023-10-12 18:03 Florian Schmaus
2023-10-12 18:03 Florian Schmaus
2023-10-12 18:03 Florian Schmaus
2023-10-12  5:54 WANG Xuerui
2023-10-09 10:54 Florian Schmaus
2023-10-09 10:54 Florian Schmaus
2023-10-03 23:38 Sam James
2023-09-28  5:22 Joonas Niilola
2023-09-27  2:55 Sam James
2023-09-27  2:55 Sam James
2023-09-23  9:50 Sam James
2023-09-15  6:15 Sam James
2023-09-13  2:15 Sam James
2023-09-11 19:57 Florian Schmaus
2023-09-11 11:41 Arthur Zamarin
2023-09-11  0:39 Sam James

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=1711005804.33dc6e48239260260f01a7348092a03d52ddd30e.ionen@gentoo \
    --to=ionen@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