Merged revisions 74693 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74693 | mark.dickinson | 2009-09-06 22:21:05 +0100 (Sun, 06 Sep 2009) | 2 lines

  Issue #6848:  Fix curses module build failure on OS X 10.6.
........
This commit is contained in:
Mark Dickinson 2009-09-06 21:23:05 +00:00
parent 74e010aafb
commit 02a9ce3edb
2 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,12 @@
#ifdef _BSD_WCHAR_T_DEFINED_ #ifdef _BSD_WCHAR_T_DEFINED_
#define _WCHAR_T #define _WCHAR_T
#endif #endif
#endif
/* the following define is necessary for OS X 10.6; without it, the
Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python
can't get at the WINDOW flags field. */
#define NCURSES_OPAQUE 0
#endif /* __APPLE__ */
#ifdef __FreeBSD__ #ifdef __FreeBSD__
/* /*

View File

@ -180,6 +180,8 @@ Library
Extension Modules Extension Modules
----------------- -----------------
- Issue #6848: Fix curses module build failure on OS X 10.6.
- Fix expat to not segfault with specially crafted input. - Fix expat to not segfault with specially crafted input.
- Issue #4873: Fix resource leaks in error cases of pwd and grp. - Issue #4873: Fix resource leaks in error cases of pwd and grp.