graphviz/graphviz-python_version.patch
Philipp Thomas da0ecc79a3 lib/common/shapes.c(round_corners) by increasing the number of
elements in the array.
- Add graphviz-proper_prototypes.patch that changes dthdr.h to
  include ast_common.h to get __STD_C defined, which in turn
  enables proper prototypes.
- Remove graphviz-2.18-do_not_use_ocamlopt.patch as it's not needed
  anymore.
- Adapt graphviz-guile.patch, graphviz-plugins-fix_install_dirs.patch
  and graphviz-python_version.patch to the new sources.
- Add graphviz-java_in_lib64.patch to search in /usr/lib64/jvm for
  the java headers on platforms using lib64.
- Add graphviz-proper_use_of_qw.patch to put the use of qw in
  config/config_perl.pl in brackets.
- Add graphviz-useless_warnings.patch to make gcc not warn about
  harmless issues that arise from code generated by swig.
- Add patch tags in the spec files
- Upstreamed all patches that aren't SUSE specific.
  lib/common/shapes.c(round_corners) by increasing the number of
  elements in the array.
- Add graphviz-proper_prototypes.patch that changes dthdr.h to
  include ast_common.h to get __STD_C defined, which in turn
  enables proper prototypes.
- Add patch tags in the spec files
- Upstreamed all patches that aren't SUSE specific.

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=60
2013-09-05 17:54:08 +00:00

19 lines
679 B
Diff

---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2013-09-03 18:17:24.215264529 +0200
+++ configure.ac 2013-09-03 18:18:10.984147480 +0200
@@ -1134,7 +1134,7 @@ else
if test "x$PYTHON" == "x"; then
use_python="No (python not available)"
else
- PYTHON_VERSION=`$PYTHON -V 2>&1 | $EGREP Python | cut -d ' ' -f 2`
+ PYTHON_VERSION=`$PYTHON -c "import sys; print '%d.%d' % (sys.version_info[[0:2]])"`
if test "x$PYTHON_VERSION" == "x"; then
PYTHON=
else