Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/util-linux/files: util-linux-2.18-ncursesw.patch
Date: Wed, 30 Jun 2010 18:21:35
Message-Id: 20100630182133.08AB42C3ED@corvid.gentoo.org
1 vapier 10/06/30 18:21:32
2
3 Added: util-linux-2.18-ncursesw.patch
4 Log:
5 Version bump.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-apps/util-linux/files/util-linux-2.18-ncursesw.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/files/util-linux-2.18-ncursesw.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/files/util-linux-2.18-ncursesw.patch?rev=1.1&content-type=text/plain
13
14 Index: util-linux-2.18-ncursesw.patch
15 ===================================================================
16 --- a/fdisk/cfdisk.c
17 +++ b/fdisk/cfdisk.c
18 @@ -69,7 +69,11 @@
19 #elif defined(HAVE_SLANG_SLCURSES_H)
20 #include <slang/slcurses.h>
21 #elif defined(HAVE_NCURSES_H)
22 +#ifdef HAVE_WIDECHAR
23 +#include <ncursesw/ncurses.h>
24 +#else
25 #include <ncurses.h>
26 +#endif
27 #elif defined(HAVE_NCURSES_NCURSES_H)
28 #include <ncurses/ncurses.h>
29 #endif