commit e4d219bcd9e702d7cd98f6242cefcd14d3e2dc29 Author: Juergen Daubert <jue@jue.li> Date: Tue Jun 12 08:12:44 2007 +0200 mutt: update to 1.5.16 diff --git a/mutt/.md5sum b/mutt/.md5sum index 7722aa9..479b51a 100644 --- a/mutt/.md5sum +++ b/mutt/.md5sum @@ -1,2 +1 @@ -b2c1eb45fd958f6589ee52a98f2a3ce1 mutt-1.5.15.tar.gz -d66caec79185a19a55f14a23ad6866e5 mutt_gecos_name.patch +10eff7024dbb7ce1f773d688a69ea9db mutt-1.5.16.tar.gz diff --git a/mutt/Pkgfile b/mutt/Pkgfile index b134707..936d8f5 100644 --- a/mutt/Pkgfile +++ b/mutt/Pkgfile @@ -4,15 +4,13 @@ # Depends on: gdbm, ncurses, openssl name=mutt -version=1.5.15 -release=2 -source=(http://mirrors.sunsite.dk/$name/devel/$name-$version.tar.gz \ - mutt_gecos_name.patch) +version=1.5.16 +release=1 +source=(http://mirrors.sunsite.dk/$name/devel/$name-$version.tar.gz) build () { cd $name-$version - patch -p1 -i $SRC/mutt_gecos_name.patch ./configure --prefix=/usr \ --mandir=/usr/man \ --with-docdir=/usr/share/mutt \ diff --git a/mutt/mutt_gecos_name.patch b/mutt/mutt_gecos_name.patch deleted file mode 100644 index 5f36fba..0000000 --- a/mutt/mutt_gecos_name.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nru mutt-1.5.15.orig/muttlib.c mutt-1.5.15/muttlib.c ---- mutt-1.5.15.orig/muttlib.c 2007-05-27 19:17:55.000000000 +0200 -+++ mutt-1.5.15/muttlib.c 2007-05-27 19:26:39.000000000 +0200 -@@ -540,7 +540,7 @@ - if (dest[idx] == '&') - { - memmove (&dest[idx + pwnl], &dest[idx + 1], -- MAX(destlen - idx - pwnl - 1, 0)); -+ MAX((ssize_t)(destlen - idx - pwnl - 1), 0)); - memcpy (&dest[idx], pw->pw_name, MIN(destlen - idx - 1, pwnl)); - dest[idx] = toupper ((unsigned char) dest[idx]); - }