diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-02-13 20:15:12 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-02-13 20:15:12 +0000 |
commit | 9233d4a797ffdfdc4a742ad6423fda2a1cd884aa (patch) | |
tree | b7fc965b560c750ae70693d44328fc8c0242cd98 /mail/mutt-devel/files | |
parent | ee066f9d54b4647a0fe6b1f2147359e67aa7b664 (diff) | |
download | ports-9233d4a797ffdfdc4a742ad6423fda2a1cd884aa.tar.gz ports-9233d4a797ffdfdc4a742ad6423fda2a1cd884aa.zip |
Notes
Diffstat (limited to 'mail/mutt-devel/files')
-rw-r--r-- | mail/mutt-devel/files/patch-04 | 26 | ||||
-rw-r--r-- | mail/mutt-devel/files/patch-05 | 28 |
2 files changed, 40 insertions, 14 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; |