Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package graphviz for openSUSE:Factory checked in at 2022-10-25 11:18:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/graphviz (Old) and /work/SRC/openSUSE:Factory/.graphviz.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "graphviz" Tue Oct 25 11:18:41 2022 rev:96 rq:1030687 version:2.49.3 Changes: -------- --- /work/SRC/openSUSE:Factory/graphviz/graphviz.changes 2022-08-30 14:48:20.851946942 +0200 +++ /work/SRC/openSUSE:Factory/.graphviz.new.2275/graphviz.changes 2022-10-25 11:18:53.393988033 +0200 @@ -1,0 +2,6 @@ +Wed Oct 19 10:40:10 UTC 2022 - Klaus K��mpf <kkaempf@suse.com> + +- add swig-4.1.0.patch to work around graphviz's incompatibility + with swig-4.1.0. + +------------------------------------------------------------------- New: ---- swig-4.1.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ graphviz.spec ++++++ --- /var/tmp/diff_new_pack.uuRcpt/_old 2022-10-25 11:18:54.069989531 +0200 +++ /var/tmp/diff_new_pack.uuRcpt/_new 2022-10-25 11:18:54.073989540 +0200 @@ -81,6 +81,8 @@ Patch4: graphviz-useless_warnings.patch Patch5: graphviz-no_strict_aliasing.patch Patch6: graphviz-no_php_extra_libs.patch +# https://gitlab.com/graphviz/graphviz/-/issues/2303 +Patch7: swig-4.1.0.patch BuildRequires: autoconf BuildRequires: automake @@ -412,6 +414,7 @@ %patch4 %patch5 -p1 %patch6 +%patch7 -p1 # pkg-config returns 0 (TRUE) when guile-2.2 is present if pkg-config --atleast-version=2.2 guile-2.2; then ++++++ swig-4.1.0.patch ++++++ diff --git a/tclpkg/gv/gv.i b/tclpkg/gv/gv.i index ea65ada2f..0bab8817f 100644 --- a/tclpkg/gv/gv.i +++ b/tclpkg/gv/gv.i @@ -10,6 +10,13 @@ %module gv +#ifdef SWIGPHP +%pragma(php) code="/* +This is a deprecated interface. +Load graphviz via PHP's C API in php.ini instead. +*/" +#endif + #ifdef SWIGTCL // A typemap telling SWIG to ignore an argument for input // However, we still need to pass a pointer to the C function