ncurses: enable wide char support unconditionally.
This commit is contained in:
parent
5af217fb2c
commit
fe267d9908
|
@ -0,0 +1,19 @@
|
|||
--- include/curses.h.in 2015-03-17 14:53:23.966261378 +0100
|
||||
+++ include/curses.h.in 2015-03-17 14:57:43.902100942 +0100
|
||||
@@ -149,14 +149,10 @@
|
||||
*/
|
||||
#include <stdio.h>
|
||||
|
||||
-/*
|
||||
- * With XPG4, you must define _XOPEN_SOURCE_EXTENDED, it is redundant (or
|
||||
- * conflicting) when _XOPEN_SOURCE is 500 or greater.
|
||||
- */
|
||||
+/* Enable wide char without consideration of _XOPEN_SOURCE.
|
||||
+ * We only support ncursesw anyway. */
|
||||
#undef NCURSES_WIDECHAR
|
||||
-#if defined(_XOPEN_SOURCE_EXTENDED) || defined(_XPG5)
|
||||
#define NCURSES_WIDECHAR
|
||||
-#endif
|
||||
|
||||
#include <stdarg.h> /* we need va_list */
|
||||
#ifdef NCURSES_WIDECHAR
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'ncurses'.
|
||||
pkgname=ncurses
|
||||
version=5.9
|
||||
revision=11
|
||||
revision=12
|
||||
short_desc="A System V Release 4.0 curses emulation library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnu.org/software/ncurses/"
|
||||
|
|
Loading…
Reference in New Issue