diff options
-rw-r--r-- | mail/mutt-devel/files/patch-04 | 26 | ||||
-rw-r--r-- | mail/mutt-devel/files/patch-05 | 28 | ||||
-rw-r--r-- | mail/mutt/files/patch-04 | 26 | ||||
-rw-r--r-- | mail/mutt/files/patch-05 | 28 | ||||
-rw-r--r-- | mail/mutt14/files/patch-04 | 26 | ||||
-rw-r--r-- | mail/mutt14/files/patch-05 | 28 |
6 files changed, 120 insertions, 42 deletions
diff --git a/mail/mutt-devel/files/patch-04 b/mail/mutt-devel/files/patch-04 index 9a3dd7bf360d..2ec5c4e87e9c 100644 --- a/mail/mutt-devel/files/patch-04 +++ b/mail/mutt-devel/files/patch-04 @@ -1,14 +1,12 @@ -*** configure.orig Tue Jan 27 12:06:22 1998 ---- configure Thu Jan 29 15:57:27 1998 -*************** -*** 1402,1407 **** ---- 1402,1410 ---- - - int main() { - -+ #ifdef __FreeBSD__ -+ #define bkgdset initscr -+ #endif - /* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ +--- configure.orig.bak Fri Feb 12 13:59:51 1999 ++++ configure Sat Feb 13 18:00:01 1999 +@@ -1725,6 +1725,9 @@ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ + char $ac_func(); ++#ifdef __FreeBSD__ ++#define bkgdset initscr ++#endif + + int main() { + diff --git a/mail/mutt-devel/files/patch-05 b/mail/mutt-devel/files/patch-05 new file mode 100644 index 000000000000..5cb212c146ba --- /dev/null +++ b/mail/mutt-devel/files/patch-05 @@ -0,0 +1,28 @@ +--- curs_lib.c.bak Thu Jan 14 14:29:17 1999 ++++ curs_lib.c Sat Feb 13 20:14:02 1999 +@@ -132,8 +132,8 @@ + int mutt_yesorno (const char *msg, int def) + { + event_t ch; +- char *yes = _("yes"); +- char *no = _("no"); ++ unsigned char *yes = _("yes"); ++ unsigned char *no = _("no"); + + CLEARLINE(LINES-1); + printw("%s ([%c]/%c): ", msg, def ? *yes : *no, +@@ -145,12 +145,12 @@ + if (ch.ch == -1) return(-1); + if (CI_is_return (ch.ch)) + break; +- else if (tolower(ch.ch) == tolower(*yes)) ++ else if (tolower(ch.ch) == tolower(*yes) || tolower(ch.ch) == 'y') + { + def = 1; + break; + } +- else if (tolower(ch.ch) == tolower(*no)) ++ else if (tolower(ch.ch) == tolower(*no) || tolower(ch.ch) == 'n') + { + def = 0; + break; diff --git a/mail/mutt/files/patch-04 b/mail/mutt/files/patch-04 index 9a3dd7bf360d..2ec5c4e87e9c 100644 --- a/mail/mutt/files/patch-04 +++ b/mail/mutt/files/patch-04 @@ -1,14 +1,12 @@ -*** configure.orig Tue Jan 27 12:06:22 1998 ---- configure Thu Jan 29 15:57:27 1998 -*************** -*** 1402,1407 **** ---- 1402,1410 ---- - - int main() { - -+ #ifdef __FreeBSD__ -+ #define bkgdset initscr -+ #endif - /* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ +--- configure.orig.bak Fri Feb 12 13:59:51 1999 ++++ configure Sat Feb 13 18:00:01 1999 +@@ -1725,6 +1725,9 @@ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ + char $ac_func(); ++#ifdef __FreeBSD__ ++#define bkgdset initscr ++#endif + + int main() { + diff --git a/mail/mutt/files/patch-05 b/mail/mutt/files/patch-05 new file mode 100644 index 000000000000..5cb212c146ba --- /dev/null +++ b/mail/mutt/files/patch-05 @@ -0,0 +1,28 @@ +--- curs_lib.c.bak Thu Jan 14 14:29:17 1999 ++++ curs_lib.c Sat Feb 13 20:14:02 1999 +@@ -132,8 +132,8 @@ + int mutt_yesorno (const char *msg, int def) + { + event_t ch; +- char *yes = _("yes"); +- char *no = _("no"); ++ unsigned char *yes = _("yes"); ++ unsigned char *no = _("no"); + + CLEARLINE(LINES-1); + printw("%s ([%c]/%c): ", msg, def ? *yes : *no, +@@ -145,12 +145,12 @@ + if (ch.ch == -1) return(-1); + if (CI_is_return (ch.ch)) + break; +- else if (tolower(ch.ch) == tolower(*yes)) ++ else if (tolower(ch.ch) == tolower(*yes) || tolower(ch.ch) == 'y') + { + def = 1; + break; + } +- else if (tolower(ch.ch) == tolower(*no)) ++ else if (tolower(ch.ch) == tolower(*no) || tolower(ch.ch) == 'n') + { + def = 0; + break; diff --git a/mail/mutt14/files/patch-04 b/mail/mutt14/files/patch-04 index 9a3dd7bf360d..2ec5c4e87e9c 100644 --- a/mail/mutt14/files/patch-04 +++ b/mail/mutt14/files/patch-04 @@ -1,14 +1,12 @@ -*** configure.orig Tue Jan 27 12:06:22 1998 ---- configure Thu Jan 29 15:57:27 1998 -*************** -*** 1402,1407 **** ---- 1402,1410 ---- - - int main() { - -+ #ifdef __FreeBSD__ -+ #define bkgdset initscr -+ #endif - /* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ +--- configure.orig.bak Fri Feb 12 13:59:51 1999 ++++ configure Sat Feb 13 18:00:01 1999 +@@ -1725,6 +1725,9 @@ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ + char $ac_func(); ++#ifdef __FreeBSD__ ++#define bkgdset initscr ++#endif + + int main() { + diff --git a/mail/mutt14/files/patch-05 b/mail/mutt14/files/patch-05 new file mode 100644 index 000000000000..5cb212c146ba --- /dev/null +++ b/mail/mutt14/files/patch-05 @@ -0,0 +1,28 @@ +--- curs_lib.c.bak Thu Jan 14 14:29:17 1999 ++++ curs_lib.c Sat Feb 13 20:14:02 1999 +@@ -132,8 +132,8 @@ + int mutt_yesorno (const char *msg, int def) + { + event_t ch; +- char *yes = _("yes"); +- char *no = _("no"); ++ unsigned char *yes = _("yes"); ++ unsigned char *no = _("no"); + + CLEARLINE(LINES-1); + printw("%s ([%c]/%c): ", msg, def ? *yes : *no, +@@ -145,12 +145,12 @@ + if (ch.ch == -1) return(-1); + if (CI_is_return (ch.ch)) + break; +- else if (tolower(ch.ch) == tolower(*yes)) ++ else if (tolower(ch.ch) == tolower(*yes) || tolower(ch.ch) == 'y') + { + def = 1; + break; + } +- else if (tolower(ch.ch) == tolower(*no)) ++ else if (tolower(ch.ch) == tolower(*no) || tolower(ch.ch) == 'n') + { + def = 0; + break; |