forked from pool/graphviz
Accepting request 1030687 from graphics
OBS-URL: https://build.opensuse.org/request/show/1030687 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphviz?expand=0&rev=96
This commit is contained in:
commit
0ee013670a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 13:33:05 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
|
@ -81,6 +81,8 @@ Patch3: graphviz-2.20.2-interpreter_names.patch
|
||||
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 @@ programs that use the graphviz libraries including man3 pages.
|
||||
%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
|
||||
|
18
swig-4.1.0.patch
Normal file
18
swig-4.1.0.patch
Normal file
@ -0,0 +1,18 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user