SHA256
1
0
forked from pool/graphviz
graphviz/graphviz-smyrna-link_against_glu.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

14 lines
456 B
Diff

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -2395,7 +2395,7 @@ else
AC_CHECK_HEADER(GL/glut.h,
AC_CHECK_LIB(glut,main,
- [GLUT_LIBS="$GLUT_LIBS -lglut"
+ [GLUT_LIBS="$GLUT_LIBS -lglut $(pkg-config --libs glu)"
use_glut="Yes"
AC_DEFINE_UNQUOTED(HAVE_GLUT,1,[Define if you have the GLUT library])],
use_glut="No (missing libglut)"