From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4AB3115813A for ; Wed, 15 Jan 2025 20:28:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A5BEE077D; Wed, 15 Jan 2025 20:28:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F11AE077D for ; Wed, 15 Jan 2025 20:28:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97A44343059 for ; Wed, 15 Jan 2025 20:28:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29F571677 for ; Wed, 15 Jan 2025 20:27:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1736972861.796f8e8da12a55b0f85238c384f77671e2f868aa.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/difftastic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/difftastic/difftastic-0.61.0-r1.ebuild X-VCS-Directories: dev-util/difftastic/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 796f8e8da12a55b0f85238c384f77671e2f868aa X-VCS-Branch: master Date: Wed, 15 Jan 2025 20:27:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0d9b77aa-c651-4f41-9ce5-7bc3407b1918 X-Archives-Hash: 4b42b3274d2fab86eea5cf08569ac478 commit: 796f8e8da12a55b0f85238c384f77671e2f868aa Author: Sam James gentoo org> AuthorDate: Wed Jan 15 20:25:28 2025 +0000 Commit: Sam James gentoo 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 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[@]}"