graphviz/graphviz-useless_warnings.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

18 lines
481 B
Diff

---
tclpkg/gv/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Index: tclpkg/gv/Makefile.am
===================================================================
--- tclpkg/gv/Makefile.am.orig
+++ tclpkg/gv/Makefile.am
@@ -12,6 +12,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/lib/cdt \
-I$(top_srcdir)/lib/pathplan
+AM_CXXFLAGS = -Wno-unused-label -Wno-unused-function \
+ -Wno-unused-but-set-variable
LIBS = -lc
BASESOURCES = gv.cpp gv.i gv_builtins.c gv_channel.h