SOURCES: python-curses_panel.patch (NEW) - fix linking with panel ...
atler
atler at pld-linux.org
Wed Apr 19 21:59:54 CEST 2006
Author: atler Date: Wed Apr 19 19:59:54 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix linking with panel library
---- Files affected:
SOURCES:
python-curses_panel.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-curses_panel.patch
diff -u /dev/null SOURCES/python-curses_panel.patch:1.1
--- /dev/null Wed Apr 19 21:59:54 2006
+++ SOURCES/python-curses_panel.patch Wed Apr 19 21:59:49 2006
@@ -0,0 +1,29 @@
+Index: setup.py
+===================================================================
+--- setup.py (Revision 45417)
++++ setup.py (Arbeitskopie)
+@@ -681,8 +681,12 @@
+
+ # Curses support, requiring the System V version of curses, often
+ # provided by the ncurses library.
++ panel_library = 'panel'
+ if (self.compiler.find_library_file(lib_dirs, 'ncursesw')):
+ curses_libs = ['ncursesw']
++ # Bug 1464056: If _curses.so links with ncursesw,
++ # _curses_panel.so must link with panelw.
++ panel_library = 'panelw'
+ exts.append( Extension('_curses', ['_cursesmodule.c'],
+ libraries = curses_libs) )
+ elif (self.compiler.find_library_file(lib_dirs, 'ncurses')):
+@@ -705,9 +709,9 @@
+
+ # If the curses module is enabled, check for the panel module
+ if (module_enabled(exts, '_curses') and
+- self.compiler.find_library_file(lib_dirs, 'panel')):
++ self.compiler.find_library_file(lib_dirs, panel_library)):
+ exts.append( Extension('_curses_panel', ['_curses_panel.c'],
+- libraries = ['panel'] + curses_libs) )
++ libraries = [panel_library] + curses_libs) )
+
+
+ # Andrew Kuchling's zlib module. Note that some versions of zlib
================================================================
More information about the pld-cvs-commit
mailing list