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: dev-util/cargo-c/
Date: Thu, 21 Mar 2024 07:24:40 +0000 (UTC)	[thread overview]
Message-ID: <1711005803.9e84d5653bff366e36ebe6d751c069e5677ba56d.ionen@gentoo> (raw)

commit:     9e84d5653bff366e36ebe6d751c069e5677ba56d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 21 07:06:01 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 07:23:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e84d565

dev-util/cargo-c: 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>

 dev-util/cargo-c/cargo-c-0.9.30.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-util/cargo-c/cargo-c-0.9.30.ebuild b/dev-util/cargo-c/cargo-c-0.9.30.ebuild
index efd999171092..e17e9888da42 100644
--- a/dev-util/cargo-c/cargo-c-0.9.30.ebuild
+++ b/dev-util/cargo-c/cargo-c-0.9.30.ebuild
@@ -370,6 +370,10 @@ src_unpack() {
 	if [[ -n ${MY_P} ]] ; then
 		tar -xf "${DISTDIR}"/"${MY_P}.crate" -C "${WORKDIR}" || die
 	fi
+
+	# 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
 }
 
 src_configure() {


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

Thread overview: 80+ 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-09-05 18:18 [gentoo-commits] repo/gentoo:master commit in: dev-util/cargo-c/ Luca Barbato
2024-06-21  9:16 Luca Barbato
2024-05-12 12:17 Luca Barbato
2024-03-23 13:19 Luca Barbato
2024-03-22 16:33 Arthur Zamarin
2024-03-04  7:43 Sam James
2024-03-04  7:43 Sam James
2024-03-04  7:43 Sam James
2024-03-04  7:43 Sam James
2024-03-04  7:43 Sam James
2024-03-04  7:43 Sam James
2024-03-04  5:47 Sam James
2024-03-02  5:05 Sam James
2024-02-11 20:53 Luca Barbato
2024-01-03 22:20 Luca Barbato
2023-11-21  9:41 Luca Barbato
2023-10-16  9:53 Luca Barbato
2023-10-16  9:53 Luca Barbato
2023-08-27 15:11 Luca Barbato
2023-08-10 21:24 Luca Barbato
2023-07-20 10:16 WANG Xuerui
2023-07-18 19:46 Luca Barbato
2023-06-13 17:29 Sam James
2023-06-04 13:29 Luca Barbato
2023-05-27 15:29 Sam James
2023-05-03  8:59 Sam James
2023-05-03  8:59 Sam James
2023-05-03  7:49 Sam James
2023-02-22  9:55 Luca Barbato
2023-01-13 19:38 Arthur Zamarin
2022-12-27 19:42 Luca Barbato
2022-12-25 21:24 Sam James
2022-12-18 19:02 Arthur Zamarin
2022-12-18 12:12 Sam James
2022-12-18 12:12 Sam James
2022-11-29 14:49 Luca Barbato
2022-11-22 18:46 Arthur Zamarin
2022-11-18  5:30 Sam James
2022-10-20 18:36 Georgy Yakovlev
2022-10-10 14:31 Luca Barbato
2022-09-06 21:41 Sam James
2022-08-26 13:20 Arthur Zamarin
2022-08-26 10:27 Sam James
2022-08-14  7:46 Luca Barbato
2022-07-27 20:36 Luca Barbato
2022-05-13 17:41 Luca Barbato
2022-02-22  3:37 Sam James
2021-12-25 17:41 Arthur Zamarin
2021-12-25 17:31 Arthur Zamarin
2021-12-25 17:29 Arthur Zamarin
2021-12-25  8:25 Agostino Sarubbo
2021-12-25  8:24 Agostino Sarubbo
2021-12-24  7:08 Sam James
2021-12-24  6:46 Sam James
2021-12-24  6:45 Sam James
2021-12-24  6:45 Sam James
2021-10-26 12:09 Luca Barbato
2021-09-23 10:30 Luca Barbato
2021-09-17 10:16 Luca Barbato
2021-08-18 20:02 Sam James
2021-08-18 20:02 Sam James
2021-08-02 12:33 Marek Szuba
2021-07-03 11:00 Luca Barbato
2021-06-19  2:10 Sam James
2021-05-16 18:41 Luca Barbato
2021-05-02 17:56 Mikle Kolyada
2021-04-02 18:19 Luca Barbato
2021-02-01  7:25 Luca Barbato
2021-01-13 17:03 Luca Barbato
2020-10-09  8:36 Agostino Sarubbo
2020-10-08  2:30 Sam James
2020-10-07 20:16 Sam James
2020-10-07 18:52 Sam James
2020-10-07 18:50 Sam James
2020-07-19 15:48 Sam James
2020-07-13 22:17 Georgy Yakovlev
2020-07-12  1:51 Sam James
2020-07-04 21:55 Mart Raudsepp
2020-04-04 15:43 Luca Barbato

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=1711005803.9e84d5653bff366e36ebe6d751c069e5677ba56d.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