diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2014-10-23 21:25:57 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2015-05-28 10:53:36 +0200 |
commit | 5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e (patch) | |
tree | 24d39a5b8778bebaccba798c4eee9782b2df3852 /pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch | |
parent | d2da94cc0bd8555b99bc54e2654208b5eeb54d94 (diff) | |
download | nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.tar nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.tar.gz nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.tar.bz2 nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.tar.lz nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.tar.xz nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.tar.zst nixlib-5f4a9c3391bad23ffbb3e0a3b740115b7ebee11e.zip |
cygwin: python-2.7
Diffstat (limited to 'pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch')
-rw-r--r-- | pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch b/pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch new file mode 100644 index 000000000000..e1cf5ad4bbf9 --- /dev/null +++ b/pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch @@ -0,0 +1,16 @@ +--- origsrc/Include/py_curses.h 2009-09-06 16:23:05.000000000 -0500 ++++ src/Include/py_curses.h 2010-04-14 15:21:23.008971400 -0500 +@@ -17,6 +17,13 @@ + #define NCURSES_OPAQUE 0 + #endif /* __APPLE__ */ + ++#ifdef __CYGWIN__ ++/* the following define is necessary for Cygwin; without it, the ++ Cygwin-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python ++ can't get at the WINDOW flags field. */ ++#define NCURSES_INTERNALS ++#endif /* __CYGWIN__ */ ++ + #ifdef __FreeBSD__ + /* + ** On FreeBSD, [n]curses.h and stdlib.h/wchar.h use different guards |