diff options
author | adam <adam@pkgsrc.org> | 2012-06-09 11:52:43 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-06-09 11:52:43 +0000 |
commit | 7830ead921d63921919ef3b31b44c4a6778185bb (patch) | |
tree | 773d6db8530efeb4ccac3c8759042eb5a9ba8646 /mail | |
parent | 9b3234e79d7cfb65c82f0a28c46c148260185c8c (diff) | |
download | pkgsrc-7830ead921d63921919ef3b31b44c4a6778185bb.tar.gz |
Remove unnecessary patches
Diffstat (limited to 'mail')
-rw-r--r-- | mail/cone/patches/patch-aa | 13 | ||||
-rw-r--r-- | mail/cone/patches/patch-ab | 13 | ||||
-rw-r--r-- | mail/cone/patches/patch-ac | 36 | ||||
-rw-r--r-- | mail/cone/patches/patch-ad | 24 | ||||
-rw-r--r-- | mail/cone/patches/patch-ae | 21 |
5 files changed, 0 insertions, 107 deletions
diff --git a/mail/cone/patches/patch-aa b/mail/cone/patches/patch-aa deleted file mode 100644 index c3100a8bfcf..00000000000 --- a/mail/cone/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2007/11/13 18:02:15 jlam Exp $ - ---- curses/configure.in.orig Sat Nov 20 02:37:20 2004 -+++ curses/configure.in -@@ -101,7 +101,7 @@ AC_C_CONST - dnl Checks for library functions. - AC_TYPE_SIGNAL - --AC_CHECK_FUNCS(glob) -+AC_CHECK_FUNCS(glob mbrtowc wcrtomb) - if test "$GXX" = "yes" - then - CPPFLAGS="-Wall $CPPFLAGS" diff --git a/mail/cone/patches/patch-ab b/mail/cone/patches/patch-ab deleted file mode 100644 index a9037ea0284..00000000000 --- a/mail/cone/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2010/05/18 13:24:15 adam Exp $ - ---- curses/configure.orig 2010-03-01 03:54:55.000000000 +0000 -+++ curses/configure -@@ -6318,7 +6318,7 @@ _ACEOF - - - --for ac_func in glob -+for ac_func in glob mbrtowc wcrtomb - do - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` - { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 diff --git a/mail/cone/patches/patch-ac b/mail/cone/patches/patch-ac deleted file mode 100644 index 2e4a5fb243e..00000000000 --- a/mail/cone/patches/patch-ac +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-ac,v 1.1.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<wchar_t> &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) - { diff --git a/mail/cone/patches/patch-ad b/mail/cone/patches/patch-ad deleted file mode 100644 index a1213d1beda..00000000000 --- a/mail/cone/patches/patch-ad +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ad,v 1.1.1.1 2007/11/13 18:02:15 jlam Exp $ - ---- curses/curses_config.h.in.orig Sun Jul 22 00:57:45 2007 -+++ curses/curses_config.h.in -@@ -19,6 +19,9 @@ - /* Define to 1 if you have the <inttypes.h> header file. */ - #undef HAVE_INTTYPES_H - -+/* Define to 1 if you have the `mbrtowc' function. */ -+#undef HAVE_MBRTOWC -+ - /* Define to 1 if you have the <memory.h> header file. */ - #undef HAVE_MEMORY_H - -@@ -62,6 +65,9 @@ - - /* Define to 1 if you have the <unistd.h> header file. */ - #undef HAVE_UNISTD_H -+ -+/* Define to 1 if you have the `wcrtomb' function. */ -+#undef HAVE_WCRTOMB - - /* Whether wcwidth() is available */ - #undef HAVE_WCWIDTH diff --git a/mail/cone/patches/patch-ae b/mail/cone/patches/patch-ae deleted file mode 100644 index 679fb97e1fd..00000000000 --- a/mail/cone/patches/patch-ae +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ae,v 1.1.1.1 2007/11/13 18:02:15 jlam Exp $ - ---- curses/cursesscreen.C.orig Mon Jul 30 02:47:52 2007 -+++ curses/cursesscreen.C -@@ -533,6 +533,16 @@ int Curses::runCommand(vector<const char - return WIFEXITED(waitstat) ? WEXITSTATUS(waitstat):-1; - } - -+#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 -+ - Curses::Key CursesScreen::doGetKey() - { - // Position cursor first. |