SHA256
8
0
forked from pool/newt
Files
newt/newt-0.52.13-python_version.patch
Lars Vogdt 539ef00070 - update to 0.52.13:
+ add support for changing colors in individual labels, scrollbars, entries,
  textboxes and scales, add custom colorsets
+ add support for NEWT_COLORS and NEWT_COLORS_FILE variables (rh#689903)
+ allow resizing of form
+ fix errors found by coverity
+ fix va_list usage (Gwenole Beauchesne)
+ fix building and installing on Mac OS X (rh#652479)
+ check for slang.h header, support DESTDIR variable, add --without-python
  option (Otavio Salvador)
+ add Persian, Low German translations
- added newt-0.52.13-python_version.patch to fix detection of 
  python version in configure script

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/newt?expand=0&rev=12
2011-08-08 11:48:08 +00:00

14 lines
630 B
Diff

Index: newt-0.52.13/configure
===================================================================
--- newt-0.52.13.orig/configure
+++ newt-0.52.13/configure
@@ -3455,7 +3455,7 @@ if test "x$with_python" = "xno"; then
$as_echo "skipped" >&6; }
PYTHONVERS=
else
- PYTHONVERS=$(ls /usr/include/python*/Python.h 2> /dev/null | sed "s|/usr/include/||g"| sed "s|/Python.h||g" 2> /dev/null)
+ PYTHONVERS=$(ls /usr/include/python*/Python.h 2> /dev/null | sed "s|/usr/include/||g"| sed "s|/Python.h||g" | head -n1 2> /dev/null)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONVERS" >&5
$as_echo "$PYTHONVERS" >&6; }
fi