public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/graphviz] f45: Add upstream patch to fix sfdp crash
@ 2026-10-12 14:56 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-10-12 14:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/graphviz
Branch : f45
Commit : 5dacb7bcec5bd0b791a94e0b14e05a8fa898893b
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-10-12T16:52:34+02:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/graphviz/c/5dacb7bcec5bd0b791a94e0b14e05a8fa898893b?branch=f45
Log:
Add upstream patch to fix sfdp crash
---
diff --git a/graphviz-15.1.1-sfdp-crash.patch b/graphviz-15.1.1-sfdp-crash.patch
new file mode 100644
index 0000000..77e942d
--- /dev/null
+++ b/graphviz-15.1.1-sfdp-crash.patch
@@ -0,0 +1,11 @@
+--- graphviz-15.1.1/lib/sparse/SparseMatrix.c.orig 2026-08-05 03:24:36.000000000 -0600
++++ graphviz-15.1.1/lib/sparse/SparseMatrix.c 2026-10-09 09:58:21.843750456 -0600
+@@ -1301,7 +1301,7 @@ void SparseMatrix_decompose_to_supervari
+ }
+ for (j = ia[i]; j < ia[i+1]; j++){
+ isuper = super[ja[j]];
+- if (mask[i] == SIZE_MAX || mask[isuper] < i){
++ if (mask[isuper] == SIZE_MAX || mask[isuper] < i){
+ mask[isuper] = i;
+ if (nsuper[isuper] == 0){/* all nodes in the isuper group exist in this row */
+ #ifdef DEBUG_PRINT1
diff --git a/graphviz.spec b/graphviz.spec
index 80bb8d6..98e1cd3 100644
--- a/graphviz.spec
+++ b/graphviz.spec
@@ -108,7 +108,7 @@
Name: graphviz
Summary: Graph Visualization Tools
Version: 15.1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
URL: http://www.graphviz.org/
#Source0: https://gitlab.com/%%{name}/%%{name}/-/archive/%%{version}/%%{name}-%%{version}.tar.bz2
@@ -217,6 +217,9 @@ Requires: urw-base35-fonts
Patch0: graphviz-12.0.0-gvpack-neato-static.patch
# fixes for R API 4.6
Patch1: swig-4.4.1-r-api-4.6.patch
+# fix crash in sfdp
+# See https://gitlab.com/graphviz/graphviz/-/merge_requests/4997
+Patch2: graphviz-15.1.1-sfdp-crash.patch
%if ! %{JAVA}
Obsoletes: graphviz-java < %{version}-%{release}
@@ -747,6 +750,9 @@ php --no-php-ini \
%endif
%changelog
+* Fri Oct 09 2026 Jerry James <loganjerry@gmail.com> - 15.1.1-2
+- Add upstream patch to fix sfdp crash
+
* Thu Aug 06 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 15.1.1-1
- New version
Resolves: rhbz#2511486
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 14:56 [rpms/graphviz] f45: Add upstream patch to fix sfdp crash Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox