diffstat for dyssol-1.5.0 dyssol-1.5.0

 changelog                    |    8 ++++++
 patches/50_graphviz_14.patch |   55 +++++++++++++++++++++++++++++++++++++++++++
 patches/series               |    1 
 3 files changed, 64 insertions(+)

diff -Nru dyssol-1.5.0/debian/changelog dyssol-1.5.0/debian/changelog
--- dyssol-1.5.0/debian/changelog	2025-08-09 22:54:05.000000000 +0300
+++ dyssol-1.5.0/debian/changelog	2025-12-14 12:07:20.000000000 +0200
@@ -1,3 +1,11 @@
+dyssol (1.5.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch from László Böszörményi to fix FTBFS with Graphviz 14.
+    (Closes: #1121662)
+
+ -- Adrian Bunk <bunk@debian.org>  Sun, 14 Dec 2025 12:07:20 +0200
+
 dyssol (1.5.0-1) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru dyssol-1.5.0/debian/patches/50_graphviz_14.patch dyssol-1.5.0/debian/patches/50_graphviz_14.patch
--- dyssol-1.5.0/debian/patches/50_graphviz_14.patch	1970-01-01 02:00:00.000000000 +0200
+++ dyssol-1.5.0/debian/patches/50_graphviz_14.patch	2025-12-14 12:07:20.000000000 +0200
@@ -0,0 +1,55 @@
+Description: graphviz 14+ update
+ Follow the API changes.
+Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Forwarded: no
+Last-Update: 2025-11-22
+
+---
+
+--- a/GUIDialogs/FlowsheetEditor/GraphvizHandler.cpp
++++ b/GUIDialogs/FlowsheetEditor/GraphvizHandler.cpp
+@@ -80,7 +80,7 @@ Agraph_t* CGraphvizHandler::CreateGraph(
+ 	char valShapePlain[] = "plaintext";
+ 
+ 	// create directed graph
+-	constexpr Agdesc_t directed{ 1,0,0,1,0,0,0,0 };
++	constexpr Agdesc_t directed{ 1,0,0,1,0,0,0 };
+ 	Agraph_t* graph = agopen(empty, directed, nullptr);
+ 	agsafeset(graph, attrNodesep, valNodesep, empty);
+ 	agsafeset(graph, attrFontsize, valFontsize, empty);
+@@ -100,7 +100,7 @@ Agraph_t* CGraphvizHandler::CreateGraph(
+ 
+ 		char* nodeName = agstrdup(graph, u->GetKey().data());
+ 		auto* node = agnode(graph, nodeName, 1);
+-		agstrfree(graph, nodeName);
++		agstrfree(graph, nodeName, true);
+ 
+ 		switch (m_style)
+ 		{
+@@ -109,7 +109,7 @@ Agraph_t* CGraphvizHandler::CreateGraph(
+ 			char* nodeLabel = agstrdup(graph, u->GetName().data());
+ 			agsafeset(node, attrShape, valShapeBox, empty);
+ 			agsafeset(node, attrLabel, nodeLabel, empty);
+-			agstrfree(graph, nodeLabel);
++			agstrfree(graph, nodeLabel, true);
+ 			break;
+ 		}
+ 		case EStyle::WITH_PORTS:
+@@ -135,7 +135,7 @@ Agraph_t* CGraphvizHandler::CreateGraph(
+ 			html += "</TR></TABLE>";
+ 			char* nodeHtml = agstrdup_html(graph, html.data());
+ 			agsafeset(node, attrLabel, nodeHtml, empty);
+-			agstrfree(graph, nodeHtml);
++			agstrfree(graph, nodeHtml, true);
+ 			break;
+ 		}
+ 		}
+@@ -155,7 +155,7 @@ Agraph_t* CGraphvizHandler::CreateGraph(
+ 		char* edgeName = agstrdup(graph, stream->GetName().data());
+ 		auto* edge = agedge(graph, nodes[unitO->GetKey()], nodes[unitI->GetKey()], edgeName, 1);
+ 		agsafeset(edge, attrLabel, edgeName, empty);
+-		agstrfree(graph, edgeName);
++		agstrfree(graph, edgeName, true);
+ 
+ 		switch (m_style)
+ 		{
diff -Nru dyssol-1.5.0/debian/patches/series dyssol-1.5.0/debian/patches/series
--- dyssol-1.5.0/debian/patches/series	2025-08-09 22:54:05.000000000 +0300
+++ dyssol-1.5.0/debian/patches/series	2025-12-14 12:07:20.000000000 +0200
@@ -2,3 +2,4 @@
 10_use_mpi.patch
 20_fix_32-bit_compilation.patch
 40_disable_unitgranulator_test.patch
+50_graphviz_14.patch
