Step 2: base dep: lang/python27

This commit is contained in:
2016-12-04 09:09:14 +01:00
committed by sambuc
parent 9ee1154431
commit 18e5b2dac6
11 changed files with 222 additions and 11 deletions
+24
View File
@@ -0,0 +1,24 @@
--- Include/py_curses.h.orig Sun Nov 10 07:36:39 2013
+++ Include/py_curses.h Fri Apr 18 18:45:25 2014
@@ -44,6 +44,21 @@
#endif
#endif
+#if defined __NetBSD__ || defined __minix
+/*
+** 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