public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/graphviz] f45: Add upstream patch to fix sfdp crash
Date: Mon, 12 Oct 2026 14:56:36 GMT	[thread overview]
Message-ID: <179181699661.1.14791405767763263461.rpms-graphviz-5dacb7bcec5b@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-12 14:56 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=179181699661.1.14791405767763263461.rpms-graphviz-5dacb7bcec5b@fedoraproject.org \
    --to=loganjerry@gmail.com \
    --cc=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