File ncursesw-error.patch of Package cataclysm-dda

--- src/ncurses_def.cpp	2020-12-09 17:13:49.000000000 +0800
+++ src/ncurses_def.cpp.modified	2021-01-07 21:35:09.218508081 +0800
@@ -4,6 +4,9 @@
 // defines that clash with the constants defined in input.h (e.g. KEY_UP).
 #include "input.h"
 
+//patched by Liu Sen, 2021-01-07
+#define NCURSES_REENTRANT 0
+
 // ncurses can define some functions as macros, but we need those identifiers
 // to be unchanged by the preprocessor, as we use them as function names.
 #define NCURSES_NOMACROS
openSUSE Build Service is sponsored by