* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libsemigroups/files/, sci-libs/libsemigroups/
@ 2024-07-30 20:11 Michael Orlitzky
0 siblings, 0 replies; only message in thread
From: Michael Orlitzky @ 2024-07-30 20:11 UTC (permalink / raw
To: gentoo-commits
commit: 02af742b0ca05dcbf5ae3ae1648b3ff58d9d4d13
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 20:09:10 2024 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 20:10:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02af742b
sci-libs/libsemigroups: backport gcc-15 build fix
Closes: https://bugs.gentoo.org/936564
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
.../libsemigroups-2.7.3-gcc-15-buildfix.patch | 22 ++++++++++++++++++++++
...-2.7.3.ebuild => libsemigroups-2.7.3-r1.ebuild} | 2 ++
2 files changed, 24 insertions(+)
diff --git a/sci-libs/libsemigroups/files/libsemigroups-2.7.3-gcc-15-buildfix.patch b/sci-libs/libsemigroups/files/libsemigroups-2.7.3-gcc-15-buildfix.patch
new file mode 100644
index 000000000000..40214b18b9ad
--- /dev/null
+++ b/sci-libs/libsemigroups/files/libsemigroups-2.7.3-gcc-15-buildfix.patch
@@ -0,0 +1,22 @@
+From b7a413284e408280336ee681dd031877d779d0ea Mon Sep 17 00:00:00 2001
+From: "James D. Mitchell" <jdm3@st-andrews.ac.uk>
+Date: Mon, 29 Jul 2024 11:13:32 +0100
+Subject: [PATCH] sims: fix issue 557
+
+---
+ include/libsemigroups/sims1.tpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/libsemigroups/sims1.tpp b/include/libsemigroups/sims1.tpp
+index bc8bda372..698845222 100644
+--- a/include/libsemigroups/sims1.tpp
++++ b/include/libsemigroups/sims1.tpp
+@@ -619,7 +619,7 @@ namespace libsemigroups {
+ typename Sims1<T>::iterator_base&
+ Sims1<T>::iterator_base::operator=(Sims1<T>::iterator_base&& that) {
+ _extra = std::move(that._extra);
+- _longs = std::move(that.long_rules());
++ _longs = std::move(that._longs);
+ _max_num_classes = std::move(that._max_num_classes);
+ _min_target_node = std::move(that._min_target_node);
+ _felsch_graph = std::move(that._felsch_graph);
diff --git a/sci-libs/libsemigroups/libsemigroups-2.7.3.ebuild b/sci-libs/libsemigroups/libsemigroups-2.7.3-r1.ebuild
similarity index 92%
rename from sci-libs/libsemigroups/libsemigroups-2.7.3.ebuild
rename to sci-libs/libsemigroups/libsemigroups-2.7.3-r1.ebuild
index 04bbfd48d7b9..15fff4b3b57d 100644
--- a/sci-libs/libsemigroups/libsemigroups-2.7.3.ebuild
+++ b/sci-libs/libsemigroups/libsemigroups-2.7.3-r1.ebuild
@@ -13,6 +13,8 @@ SLOT="0/2"
KEYWORDS="~amd64 ~x86"
IUSE="cpu_flags_x86_popcnt"
+PATCHES=( "${FILESDIR}/${P}-gcc-15-buildfix.patch" )
+
src_configure() {
econf \
$(use_enable cpu_flags_x86_popcnt popcnt) \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-30 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30 20:11 [gentoo-commits] repo/gentoo:master commit in: sci-libs/libsemigroups/files/, sci-libs/libsemigroups/ Michael Orlitzky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox