Date: Tuesday, December 6, 2011 @ 09:33:05 Author: stephane Revision: 144476
upgpkg: most 5.0.0a-4 fix small leak, web page url Added: most/trunk/most-leak-fd.patch Modified: most/trunk/PKGBUILD --------------------+ PKGBUILD | 16 ++++++++++------ most-leak-fd.patch | 14 ++++++++++++++ 2 files changed, 24 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-12-06 14:25:28 UTC (rev 144475) +++ PKGBUILD 2011-12-06 14:33:05 UTC (rev 144476) @@ -1,23 +1,27 @@ # $Id$ -# Maintainer: juergen <juer...@archlinux.org> +# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: juergen <juer...@archlinux.org> # Contributor: Tom Newsom <jeeps...@gmx.co.uk> pkgname=most pkgver=5.0.0a -pkgrel=3 +pkgrel=4 pkgdesc="A terminal pager similar to 'more' and 'less'" arch=('i686' 'x86_64') depends=('slang') license=('GPL') -url="ftp://space.mit.edu/pub/davis/most/" -source=(ftp://space.mit.edu/pub/davis/${pkgname}/${pkgname}-${pkgver}.tar.gz most-debian.patch) +url="http://www.jedsoft.org/most/index.html" +source=(ftp://space.mit.edu/pub/davis/${pkgname}/${pkgname}-${pkgver}.tar.gz + most-debian.patch + most-leak-fd.patch) sha1sums=('99eedb7169754b9a47c7755ac48949d76531e3b2' - '937796040c69bae3bf735fa3cd734775c582e7d0') + '937796040c69bae3bf735fa3cd734775c582e7d0' + 'c5713e1278febdd0ed434e6e3044feb220b5d525') - build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i ../most-debian.patch + patch -Np1 -i ../most-leak-fd.patch ./configure --prefix=/usr --sysconfdir=/etc make } Added: most-leak-fd.patch =================================================================== --- most-leak-fd.patch (rev 0) +++ most-leak-fd.patch 2011-12-06 14:33:05 UTC (rev 144476) @@ -0,0 +1,14 @@ +--- most-5.0.0a.orig/src/most.c 2007-06-03 00:03:59.000000000 -0400 ++++ most-5.0.0a/src/most.c 2010-12-31 04:42:08.000000000 -0500 +@@ -321,9 +321,11 @@ + { + fprintf (stderr, "fwrite returned %d, errno = %d\n", + m, errno); ++ (void) fclose (fp); + exit (1); + } + } ++ (void) fclose (fp); + } + + void most_initialize_most (void)