forked from pool/graphviz
Marcus Meissner
6d228abcc5
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
14 lines
456 B
Diff
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)"
|