diff options
Diffstat (limited to 'lang/python24-pth/patches/patch-aa')
-rw-r--r-- | lang/python24-pth/patches/patch-aa | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/python24-pth/patches/patch-aa b/lang/python24-pth/patches/patch-aa new file mode 100644 index 00000000000..60297492da1 --- /dev/null +++ b/lang/python24-pth/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/12/05 23:28:56 recht Exp $ + +--- Include/py_curses.h.orig Sun Jun 29 17:46:21 2003 ++++ Include/py_curses.h +@@ -39,6 +39,21 @@ + #endif + #endif + ++#ifdef __NetBSD__ ++/* ++** On NetBSD, [n]curses.h and stdlib.h/wchar.h use different guards ++** against multiple definition of wchar_t and wint_t. ++*/ ++#ifdef _XOPEN_SOURCE_EXTENDED ++#ifndef _WCHAR_T ++#define _WCHAR_T ++#endif ++#ifndef _WINT_T ++#define _WINT_T ++#endif ++#endif ++#endif ++ + #ifdef HAVE_NCURSES_H + #include <ncurses.h> + #else |