d5dc8a4e54
Changes in Python: Quite a few fixes.. See NEWS for details. Changes in the pkg: - add FreeBSD patches from the FreeBSD port - add fix for a fatal bug in type's GC handling causes segfaults (via FreeBSD port) see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u - always build the db 1.85 module (on all platforms)
26 lines
521 B
Text
26 lines
521 B
Text
$NetBSD: patch-ab,v 1.1 2003/12/08 21:13:56 recht Exp $
|
|
|
|
--- Include/py_curses.h.orig 2003-06-29 17:46:21.000000000 +0200
|
|
+++ 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
|