public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/difftastic/
Date: Wed, 15 Jan 2025 20:27:59 +0000 (UTC)	[thread overview]
Message-ID: <1736972861.796f8e8da12a55b0f85238c384f77671e2f868aa.sam@gentoo> (raw)

commit:     796f8e8da12a55b0f85238c384f77671e2f868aa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 20:25:28 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 20:27:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796f8e8d

dev-util/difftastic: build w/ -std=gnu17

Workaround for old bundled mimalloc in mimalloc crate, see
bug #944110, but updating it should be done with caution, see
https://github.com/purpleprotocol/mimalloc_rust/issues/109.

Closes: https://bugs.gentoo.org/944110
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/difftastic/difftastic-0.61.0-r1.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-util/difftastic/difftastic-0.61.0-r1.ebuild b/dev-util/difftastic/difftastic-0.61.0-r1.ebuild
index 4f9224cf6950..5c47cc323130 100644
--- a/dev-util/difftastic/difftastic-0.61.0-r1.ebuild
+++ b/dev-util/difftastic/difftastic-0.61.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Autogenerated by pycargoebuild 0.13.3
@@ -151,7 +151,7 @@ CRATES="
 	zerocopy@0.7.32
 "
 
-inherit cargo
+inherit cargo flag-o-matic
 
 DESCRIPTION="A structural diff that understands syntax."
 HOMEPAGE="http://difftastic.wilfred.me.uk/"
@@ -183,6 +183,14 @@ src_prepare() {
 	default
 }
 
+src_configure() {
+	# Workaround for old bundled mimalloc in mimalloc crate, see
+	# bug #944110, but updating it should be done with caution, see
+	# https://github.com/purpleprotocol/mimalloc_rust/issues/109.
+	append-cflags -std=gnu17
+	cargo_src_configure
+}
+
 src_install() {
 	cargo_src_install
 	dodoc -r "${DOCS[@]}"


             reply	other threads:[~2025-01-15 20:28 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-15 20:27 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-19 18:36 [gentoo-commits] repo/gentoo:master commit in: dev-util/difftastic/ Arthur Zamarin
2025-06-19 18:35 Arthur Zamarin
2025-02-12 18:32 Patrick McLean
2024-10-28 23:13 Patrick McLean
2024-08-06  0:14 Patrick McLean
2024-05-24 18:44 Patrick McLean
2024-04-05 18:23 Patrick McLean
2024-02-07 19:05 Patrick McLean
2024-02-07 19:05 Patrick McLean
2023-10-11  1:02 Patrick McLean
2023-08-26  0:14 Patrick McLean
2023-08-17 20:52 Patrick McLean
2023-07-27 22:43 Patrick McLean
2023-07-27 22:43 Patrick McLean
2023-07-13  0:03 Patrick McLean
2023-04-25 22:16 Sam James
2023-04-03 23:48 Patrick McLean
2023-04-03 23:48 Patrick McLean
2023-03-03 20:12 Patrick McLean
2023-03-03 20:12 Patrick McLean
2023-02-05 19:06 Patrick McLean
2023-02-03 21:25 Patrick McLean
2023-02-03 21:25 Patrick McLean
2023-01-26 18:17 Patrick McLean
2022-10-21 20:52 Patrick McLean
2022-10-21 20:52 Patrick McLean
2022-10-21 20:52 Patrick McLean
2022-10-21 20:52 Patrick McLean
2022-09-22 18:49 Patrick McLean
2022-09-03 22:39 Patrick McLean
2022-09-03 22:39 Patrick McLean
2022-08-29 17:13 Patrick McLean
2022-08-08 19:28 Patrick McLean
2022-07-12 18:39 Patrick McLean
2022-07-12 18:39 Patrick McLean
2022-07-05 18:15 Patrick McLean
2022-06-15 18:24 Patrick McLean
2022-03-31 19:32 Patrick McLean
2022-03-31 16:27 Patrick McLean

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=1736972861.796f8e8da12a55b0f85238c384f77671e2f868aa.sam@gentoo \
    --to=sam@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