From 94af9f37baed1241a34dba092c997b250c6119b0 Mon Sep 17 00:00:00 2001 From: fgsch Date: Mon, 5 Sep 2005 20:17:33 +0000 Subject: [PATCH] fixes a crash when using limits reported by david@ and bump package. --- mail/mutt/stable/Makefile | 4 ++-- mail/mutt/stable/patches/patch-muttlib_c | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 mail/mutt/stable/patches/patch-muttlib_c diff --git a/mail/mutt/stable/Makefile b/mail/mutt/stable/Makefile index 2d36df2fd29..39ebe1043a9 100644 --- a/mail/mutt/stable/Makefile +++ b/mail/mutt/stable/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.22 2005/06/30 05:24:53 fgsch Exp $ +# $OpenBSD: Makefile,v 1.23 2005/09/05 20:17:33 fgsch Exp $ COMMENT= "tty-based e-mail client" -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 VERSION= 1.4.2 MASTER_SITES= ${MASTER_SITES_MUTT} diff --git a/mail/mutt/stable/patches/patch-muttlib_c b/mail/mutt/stable/patches/patch-muttlib_c new file mode 100644 index 00000000000..38cdad8ca58 --- /dev/null +++ b/mail/mutt/stable/patches/patch-muttlib_c @@ -0,0 +1,14 @@ +$OpenBSD: patch-muttlib_c,v 1.1 2005/09/05 20:17:33 fgsch Exp $ +--- muttlib.c.orig Tue Aug 30 20:31:27 2005 ++++ muttlib.c Tue Aug 30 20:39:17 2005 +@@ -809,8 +809,8 @@ void mutt_expand_fmt (char *dest, size_t + } + else if (p[1] == '%') + p++; +- +- p++; ++ else ++ p++; + } + + if (found)