SHA256
1
0
forked from pool/graphviz
graphviz/graphviz-smyrna-link_against_glu.patch

14 lines
456 B
Diff
Raw Normal View History

Accepting request 925700 from home:dirkmueller:Factory - update to 2.49.1: - the CMake build system installs gzipped man pages if `gzip` is available #1883 - CMake projects using Graphviz as a subproject (`add_subdirectory`) can now link against and use `gvc`. - various problems in the generation of Javascript bindings - 2.48.0: test suite is failing #2112 - Ensure correct file-level dependency for generated file in cmake generated projects #2119 - compile failures with a C++20-compatible toolchain #2122 - compile errors on macOS when using Bison 3.8 #2127 - Make Graphviz buildable as a cmake subproject/subdirectory #1477 - Header not found in Cmake project #2109 - a very basic C++ API for a subset of the functions in lib/cgraph and lib/gvc, allowing a graph to be rendered from DOT source to a specified format. The new API is available through two new libraries: lib/cgraph++ and lib/gvc++. It is experimental, meaning that it might have breaking changes also in upcoming patch or minor releases (towards #2001) - CMake builds now support an `with_expat` option that allows the support for using HTML-like labels through the optional expat library to be explicitly enabled (default) or disabled - CMake builds now support an with_zlib option that allows the support for raster image compression through the optional zlib library to be explicitly enabled (default) or disabled - the CMake build system now enables `-Wextra` when building C++ - some Cgraph functions that take `char*` arguments that they do not modify have been updated to take `const char*` arguments #634 - incorrectly using the `layout` attribute on anything other than a graph now results in a warning about this being invalid #2078 - `edgepaint` accepts more standard `--` prefixed command line arguments and OBS-URL: https://build.opensuse.org/request/show/925700 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=173
2021-10-20 11:46:23 +02:00
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)"