graphviz/swig-4.1.0.patch
Marcus Meissner 6d228abcc5 - Add -fpermissive to optflags when compiling the addons flavor in
order to prevent GCC 14 to throw errors upon encountering various
  C99 violations. [boo#1225776]

Please (assuming the request is otherwise OK), forward it to factory
soon-ish so that we can switch the default compiler.

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=193
2024-07-20 18:20:48 +00:00

19 lines
432 B
Diff

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