public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/ginac] rawhide: Fix tests
Date: Fri, 19 Jun 2026 08:41:35 GMT	[thread overview]
Message-ID: <178185849599.1.9723279390510219210.rpms-ginac-d3b1f1da34bd@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-19  8:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178185849599.1.9723279390510219210.rpms-ginac-d3b1f1da34bd@fedoraproject.org \
    --to=git-commits@fedoraproject.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