1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/ncurses/wint_t.patch
Lluís Batlle i Rossell 61e9f9cede Cross-building ncursesw was not that easy; it needed this patch, at least for
the current nixpkgs (gcc, glibc)

svn path=/nixpkgs/branches/stdenv-updates/; revision=24246
2010-10-12 19:39:30 +00:00

15 lines
495 B
Diff

http://www.mail-archive.com/freewrt-developers@freewrt.org/msg01326.html
--- ncurses-5.6.orig/ncurses/curses.priv.h 2006-12-10 01:55:14.000000000 0100
+++ ncurses-5.6/ncurses/curses.priv.h 2008-02-11 13:12:04.000000000 +0100
@@ -253,6 +253,10 @@ color_t;
#include <term_entry.h>
#include <nc_tparm.h>
+#ifndef _WINT_T
+#include <wchar.h>
+#endif
+
#if NCURSES_EXT_COLORS && USE_WIDEC_SUPPORT
#define if_EXT_COLORS(stmt) stmt
#define NetPair(value,p) (value).ext_color = (p), \