diff --git a/srcpkgs/ncurses/patches/no-xopen.patch b/srcpkgs/ncurses/patches/no-xopen.patch new file mode 100644 index 00000000000..2c4e20f1fb4 --- /dev/null +++ b/srcpkgs/ncurses/patches/no-xopen.patch @@ -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 + +-/* +- * 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 /* we need va_list */ + #ifdef NCURSES_WIDECHAR diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template index bace68d14e3..1d98c5862ee 100644 --- a/srcpkgs/ncurses/template +++ b/srcpkgs/ncurses/template @@ -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 " homepage="http://www.gnu.org/software/ncurses/"