diff options
author | obrien <obrien@FreeBSD.org> | 1999-02-14 04:15:12 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-02-14 04:15:12 +0800 |
commit | e4de1dfe6323e35bc3fc6acf579671e986277ef9 (patch) | |
tree | 79e9200a9d1b1c6f923728fda5e679395af52b56 /mail/mutt | |
parent | af3e703f0900b434db2051f4672fe101dc12a658 (diff) | |
download | freebsd-ports-gnome-e4de1dfe6323e35bc3fc6acf579671e986277ef9.tar.gz freebsd-ports-gnome-e4de1dfe6323e35bc3fc6acf579671e986277ef9.tar.zst freebsd-ports-gnome-e4de1dfe6323e35bc3fc6acf579671e986277ef9.zip |
* fix support for Russan language - there is a sign extension bug in new
version and lack of english responce fallback
* when installing in the face of certain environmental vars, manual.latin1 does not get installed
Submitted by: ache
Ok'ed by: Satoshi
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/files/patch-04 | 26 | ||||
-rw-r--r-- | mail/mutt/files/patch-05 | 28 |
2 files changed, 40 insertions, 14 deletions
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; |