summaryrefslogtreecommitdiff
path: root/mail/alpine
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2007-05-17 21:58:58 +0000
committerabs <abs@pkgsrc.org>2007-05-17 21:58:58 +0000
commit1f43cff80597dff1b450fb4b4f7f13832403871f (patch)
tree7dc06210561a6b7edbf36d619f1b32976160b422 /mail/alpine
parent78a2d5eabc5bff2f6a0f6142886bd64df719e763 (diff)
downloadpkgsrc-1f43cff80597dff1b450fb4b4f7f13832403871f.tar.gz
Update alpine to 0.99nb1 - do not ^M and similar to toupper(). Avoids
potential crash on selecting files to attach on some machines
Diffstat (limited to 'mail/alpine')
-rw-r--r--mail/alpine/Makefile3
-rw-r--r--mail/alpine/distinfo3
-rw-r--r--mail/alpine/patches/patch-ab15
3 files changed, 19 insertions, 2 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index 3b80ce81e75..83ea58fa991 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/03 12:11:37 abs Exp $
+# $NetBSD: Makefile,v 1.2 2007/05/17 21:58:58 abs Exp $
#
DISTNAME= alpine-0.99
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/alpine/
EXTRACT_SUFX= .tar.bz2
diff --git a/mail/alpine/distinfo b/mail/alpine/distinfo
index a21dc1e372a..c7bb2e3deb0 100644
--- a/mail/alpine/distinfo
+++ b/mail/alpine/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/05/03 12:11:37 abs Exp $
+$NetBSD: distinfo,v 1.2 2007/05/17 21:58:58 abs Exp $
SHA1 (alpine-0.99.tar.bz2) = 240f2b3d5229714ab1e7cc1ef3a4339dfaccf2e7
RMD160 (alpine-0.99.tar.bz2) = a896213860badede88500e746f9186310b4d1364
Size (alpine-0.99.tar.bz2) = 4920156 bytes
SHA1 (patch-aa) = 1269dcd9b9a86980ac02facc65ec5beb6dd45221
+SHA1 (patch-ab) = f0f4d6c8017cbb5bda8d46d7cb62b323c6e3a8d7
diff --git a/mail/alpine/patches/patch-ab b/mail/alpine/patches/patch-ab
new file mode 100644
index 00000000000..9b79ae5ff19
--- /dev/null
+++ b/mail/alpine/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2007/05/17 21:58:58 abs Exp $
+
+--- pico/browse.c.orig 2007-03-07 23:16:56.000000000 +0000
++++ pico/browse.c
+@@ -1399,8 +1399,8 @@ FileBrowse(char *dir, size_t dirlen, cha
+ case (CTRL|'M'):
+ Selected:
+
+- if((toupper(new_c) == 'S' && (gmode&MDBRONLY))
+- || (toupper(new_c) == 'V' && !(gmode&MDBRONLY)))
++ if(((new_c == 'S' || new_c == 's') && (gmode&MDBRONLY))
++ || ((new_c == 'V' || new_c == 'v') && !(gmode&MDBRONLY)))
+ goto Default;
+
+ if(gmp->current->mode == FIODIR){