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: app-arch/libdeflate/
Date: Mon, 06 Jan 2025 21:57:11 +0000 (UTC)	[thread overview]
Message-ID: <1736200570.a0c549f2d2c9dd3d781c69d91b74b76103d74f15.sam@gentoo> (raw)

commit:     a0c549f2d2c9dd3d781c69d91b74b76103d74f15
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 21:56:10 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 21:56:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c549f2

app-arch/libdeflate: add workaround for ifcombine bug

No revbump given it only affects 2-3 snapshots of GCC 15 and will be
fixed soon.

Bug: https://gcc.gnu.org/PR118206
Closes: https://bugs.gentoo.org/946876
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/libdeflate/libdeflate-1.23.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-arch/libdeflate/libdeflate-1.23.ebuild b/app-arch/libdeflate/libdeflate-1.23.ebuild
index d44e68b21d11..b2a16ab571fc 100644
--- a/app-arch/libdeflate/libdeflate-1.23.ebuild
+++ b/app-arch/libdeflate/libdeflate-1.23.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2019-2024 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic toolchain-funcs
 
 DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression"
 HOMEPAGE="https://github.com/ebiggers/libdeflate"
@@ -35,6 +35,9 @@ PATCHES=(
 )
 
 src_configure() {
+	# Workaround for bug #946876 (gcc PR118206)
+	tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]] && append-flags -fdisable-tree-ifcombine
+
 	local mycmakeargs=(
 		-DLIBDEFLATE_BUILD_SHARED_LIB="yes"
 		-DLIBDEFLATE_BUILD_STATIC_LIB="no"


             reply	other threads:[~2025-01-06 21:57 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 21:57 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-23 20:38 [gentoo-commits] repo/gentoo:master commit in: app-arch/libdeflate/ Sam James
2025-03-18  0:55 Sam James
2025-03-15  8:43 Petr Vaněk
2025-02-23  3:09 Sam James
2025-02-16  4:15 Sam James
2025-02-15 15:58 Sam James
2025-02-13  7:54 Sam James
2025-02-13  7:54 Sam James
2025-02-13  7:04 Joonas Niilola
2025-02-13  7:04 Joonas Niilola
2025-01-13 10:33 Sam James
2024-12-24  7:06 Sam James
2024-12-24  7:06 Sam James
2024-09-25 11:55 Joonas Niilola
2024-09-24 15:03 Arthur Zamarin
2024-09-23  7:13 Arthur Zamarin
2024-09-23  6:02 Arthur Zamarin
2024-09-23  6:02 Arthur Zamarin
2024-09-23  0:32 Sam James
2024-09-23  0:32 Sam James
2024-08-30  9:05 Arthur Zamarin
2024-08-26 13:01 Arthur Zamarin
2024-08-25 15:41 Sam James
2024-07-31 21:18 Eli Schwartz
2024-07-05 10:20 Arthur Zamarin
2024-04-09 17:32 Arthur Zamarin
2024-04-09 17:32 Arthur Zamarin
2024-04-09 15:54 Arthur Zamarin
2024-04-05 15:29 Arthur Zamarin
2024-02-20 20:59 Ionen Wolkens
2024-02-20 20:59 Ionen Wolkens
2024-02-20 20:59 Ionen Wolkens
2024-02-20 20:59 Ionen Wolkens
2024-02-20 20:59 Ionen Wolkens
2024-02-19 16:33 Jakov Smolić
2024-02-18 22:42 Sam James
2024-02-18 22:42 Sam James
2024-02-18 22:42 Sam James
2024-02-18 22:42 Sam James
2024-01-16  8:39 Florian Schmaus

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=1736200570.a0c549f2d2c9dd3d781c69d91b74b76103d74f15.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