head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q1:1.1.1.1.0.40 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.38 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.36 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.34 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.32 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.30 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.28 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.26 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.24 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.22 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.20 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.18 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.16 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.14 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.12 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.10 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.8 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.6 pkgsrc-2008Q1:1.1.1.1.0.4 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.2 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2012.06.09.11.52.43; author adam; state dead; branches; next 1.1; 1.1 date 2007.11.13.18.02.15; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.11.13.18.02.15; author jlam; state Exp; branches; next ; desc @@ 1.2 log @Remove unnecessary patches @ text @$NetBSD: patch-ac,v 1.1 2007/11/13 18:02:15 jlam Exp $ --- curses/curses.C.orig Sat Mar 27 16:05:46 2004 +++ curses/curses.C @@@@ -422,6 +422,16 @@@@ bool Curses::processKeyInFocus(const Key return false; } +#if !HAVE_MBRTOWC +static size_t mbrtowc(wchar_t *pw, const char *s, size_t n, mbstate_t *ps) +{ + if (s == NULL) return 0; + if (n == 0) return (size_t)-1; + if (pw) *pw = (wchar_t) *s; + return (*s != '\0'); +} +#endif + void Curses::mbtow(const char *text, vector &wbuf) { mbstate_t ps, ps_save; @@@@ -471,6 +481,14 @@@@ void Curses::mbtow(const char *text, vec } } +#if !HAVE_WCRTOMB +static size_t wcrtomb(char *s, wchar_t w, mbstate_t *ps) +{ + if (s == NULL) return 0; + *s = (char) w; + return 1; +} +#endif string Curses::wtomb(const wchar_t *w) { @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import cone-0.73 as pkgsrc/mail/cone: Cone is a text-based mail client. Cone seamlessly handles multiple POP3, IMAP accounts, and local mail folders. Cone is also a simple newsreader. Cone's interface is foolproof enough to be used by inexperienced users, but it also offers advanced features for power users. Cone also serves as a platform for development of a new experimental network mail access protocol, SMAP, that offers additional functionality not available with IMAP or POP3. @ text @@