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

12 lines
516 B
Diff

--- configure.ac 2019-07-13 05:14:04.000000000 +0200
+++ configure.ac 2020-12-31 13:46:52.374560516 +0100
@@ -1116,7 +1116,7 @@ else
PHP_INCLUDES="`$PHPCONFIG --includes`"
PHP_INSTALL_DIR="`$PHPCONFIG --extension-dir`"
PHP_INSTALL_DATADIR="/usr/share/php"
- PHP_LIBS="`$PHPCONFIG --ldflags` `$PHPCONFIG --libs`"
+ PHP_LIBS="`$PHPCONFIG --ldflags`"
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"
AC_CHECK_HEADER(php.h,,[