Kaydet (Commit) f4ae375c authored tarafından Luboš Luňák's avatar Luboš Luňák

fix python3 build on SLED11

Apparently all recent systems use ncursesw, for which there is
-I/usr/include/ncursesw, but SLED11 uses ncurses lib, and there's no -I for that.

Change-Id: I61ec795aae45e1074075351eca62299784d08b09
üst 324d189c
...@@ -30,6 +30,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,python3,\ ...@@ -30,6 +30,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,python3,\
python3/python-3.3.0-ssl.patch.1 \ python3/python-3.3.0-ssl.patch.1 \
python3/python-3.3.0-implicit-int.patch.1 \ python3/python-3.3.0-implicit-int.patch.1 \
python3/python-3.3.0-ffi-clang.patch.1 \ python3/python-3.3.0-ffi-clang.patch.1 \
python3/python-3.3.0-ncurses.patch \
)) ))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
--- a/python3/setup.py 2012-12-04 00:40:57.000000000 +0100
+++ b/python3/setup.py 2012-12-04 00:53:49.000000000 +0100
@@ -1289,6 +1279,8 @@
# Building with the system-suppied combined libncurses/libpanel
curses_defines.append(('HAVE_NCURSESW', '1'))
curses_defines.append(('_XOPEN_SOURCE_EXTENDED', '1'))
+ elif curses_library == 'ncurses':
+ curses_includes.append('/usr/include/ncurses')
if curses_library.startswith('ncurses'):
curses_libs = [curses_library]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment