Files
graphviz/Fix-build-with-non-standard-python-binary.patch

65 lines
2.3 KiB
Diff
Raw Permalink Normal View History

Accepting request 1332444 from Kernel:tools - Update to 14.1.2 * The `colorscheme` attribute when applied to edge labels works once again. - Update to 14.1.1 * When seeding random number generators with `time(NULL)`, the result of `getpid()` is no longer also mixed in. Previously this was the case on non-Windows platforms, impeding reproducibility and portability - Update to 14.1.0 * Added option `neato -n3` for fit ends of edges to nodes' borders when edge trajectory is set. * Orthogonal edges now support rounded corners via the `radius` edge attribute. - Update to 14.0.5 * When filtering attribute lists, Smyrna no longer accesses out of bounds memory * osage should now handle clusters that become empty when nodes are incorrectly assigned to sibling clusters. - Update to 14.0.4 * Internal timing operations now use `clock()` on all platforms * `diffimg` now notices failures when calling Ghostscript * `dtstat` no longer reads/writes out of bounds memory * A null pointer dereference in edge pair analysis within the circo algorithm has been fixed. - Update to 14.0.2 * Memory corruption when using the Java bindings to render to a string has been corrected - Update to 14.0.1 * Points generated as curves by the dot layout algorithm are once again placed correctly. - Refresh graphviz-smyrna-link_against_glu.patch - On SLE 15 build with GCC 13 and python 3.11 OBS-URL: https://build.opensuse.org/request/show/1332444 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=208
2026-02-11 12:00:18 +00:00
From 416e3641211c189438e30307fc7f2282820d9399 Mon Sep 17 00:00:00 2001
From: Michal Suchanek <msuchanek@suse.de>
Date: Tue, 10 Feb 2026 17:08:10 +0100
Subject: [PATCH] Fix build with non-standard python binary
---
lib/common/Makefile.am | 4 ++--
tclpkg/gv/Makefile.am | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/common/Makefile.am b/lib/common/Makefile.am
index 258842901..9c8aa34cb 100644
--- a/lib/common/Makefile.am
+++ b/lib/common/Makefile.am
@@ -39,7 +39,7 @@ colortbl.h: $(top_srcdir)/lib/common/brewer_colors \
$(top_srcdir)/lib/common/svgcolor_names \
$(top_srcdir)/lib/common/color_names \
$(top_srcdir)/lib/common/make_colortbl.py
- python3 $(top_srcdir)/lib/common/make_colortbl.py \
+ $(PYTHON3) $(top_srcdir)/lib/common/make_colortbl.py \
$(top_srcdir)/lib/common/brewer_colors \
$(top_srcdir)/lib/common/svgcolor_names \
$(top_srcdir)/lib/common/color_names colortbl.h
@@ -48,7 +48,7 @@ utils.$(OBJEXT) utils.lo: entities.h
entities.h: $(top_srcdir)/lib/common/entities.html \
$(top_srcdir)/lib/common/entities.py
- python3 $(top_srcdir)/lib/common/entities.py "$@"
+ $(PYTHON3) $(top_srcdir)/lib/common/entities.py "$@"
htmllex.$(OBJEXT) htmllex.lo: htmllex.c htmllex.h htmlparse.h
htmlparse.$(OBJEXT) htmlparse.lo: htmlparse.c htmlparse.h
diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am
index bfacef153..fcd6af763 100644
--- a/tclpkg/gv/Makefile.am
+++ b/tclpkg/gv/Makefile.am
@@ -288,7 +288,7 @@ DEVTSTS += test_tcl
all-local: pkgIndex.tcl
pkgIndex.tcl:
- python3 $(top_srcdir)/tclpkg/mkpkgindex.py \
+ $(PYTHON3) $(top_srcdir)/tclpkg/mkpkgindex.py \
--file libgv_tcl$(SHARED_LIBRARY_SUFFIX) \
--name gv \
--version 0
@@ -304,7 +304,7 @@ $(man): gv_doc_writer.intermediate ;
.INTERMEDIATE: gv_doc_writer.intermediate
gv_doc_writer.intermediate: gv.i gv_doc_writer.py
- python3 $(srcdir)/gv_doc_writer.py
+ $(PYTHON3) $(srcdir)/gv_doc_writer.py
.3sharp.3sharp.pdf:
rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
@@ -476,4 +476,4 @@ CLEANFILES = test_*/* \
gv_R.cpp $(R_data) \
gv_ruby.cpp $(RUBY_data) \
gv_tcl.cpp $(TCL_data)
-DISTCLEANFILES = $(pdf_DATA) pkgIndex.tcl
\ No newline at end of file
+DISTCLEANFILES = $(pdf_DATA) pkgIndex.tcl
--
2.51.0