public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ginac] rawhide: Fix tests
@ 2026-06-19 8:41
0 siblings, 0 replies; only message in thread
From: @ 2026-06-19 8:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ginac
Branch : rawhide
Commit : d3b1f1da34bdd0b6d27a9fd5c08eabec58c5edc5
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-06-19T10:27:26+02:00
Stats : +28/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ginac/c/d3b1f1da34bdd0b6d27a9fd5c08eabec58c5edc5?branch=rawhide
Log:
Fix tests
---
diff --git a/4b8e8987365682e40184f87d5e1030c0081108d0.patch b/4b8e8987365682e40184f87d5e1030c0081108d0.patch
new file mode 100644
index 0000000..0903387
--- /dev/null
+++ b/4b8e8987365682e40184f87d5e1030c0081108d0.patch
@@ -0,0 +1,27 @@
+From 4b8e8987365682e40184f87d5e1030c0081108d0 Mon Sep 17 00:00:00 2001
+From: Stefan Weinzierl <weinzierl@uni-mainz.de>
+Date: Tue, 16 Jun 2026 08:49:29 +0200
+Subject: [PATCH] This fixes the bug reported by zbyszek related to the
+ compiler flag -D_GLIBCXX_ASSERTIONS
+
+---
+ ginac/Gt_helpers.cpp | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/ginac/Gt_helpers.cpp b/ginac/Gt_helpers.cpp
+index 793013d4..4f747c7d 100644
+--- a/ginac/Gt_helpers.cpp
++++ b/ginac/Gt_helpers.cpp
+@@ -108,6 +108,12 @@ template class TransformExpressionWithCache<G2_SERIAL>;
+ std::vector<std::vector<int>> integer_partition(const int n, const int m)
+ {
+ std::vector<std::vector<int>> result;
++ // 04.06.2026: bug fix: handle the case m=1 correctly
++ if (m==1) {
++ std::vector<int> decomposition(1, n);
++ result.emplace_back(decomposition);
++ return result;
++ }
+ std::vector<int> hlp(m, 0);
+ int k = 1;
+ hlp[1] = n;
diff --git a/ginac.spec b/ginac.spec
index 68a2653..fbb788f 100644
--- a/ginac.spec
+++ b/ginac.spec
@@ -9,6 +9,7 @@ URL: https://www.ginac.de/
Source0: https://www.ginac.de/%{name}-%{version}.tar.bz2
Patch: cmake-minimum-version.diff
+Patch: https://codeberg.org/ginac/ginac/commit/4b8e8987365682e40184f87d5e1030c0081108d0.patch
BuildRequires: gcc-c++
BuildRequires: bison
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-19 8:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 8:41 [rpms/ginac] rawhide: Fix tests
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox