diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2011-12-09 15:21:15 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2011-12-09 15:21:15 +0100 |
commit | 784f841dd02d4cf93e02aeab3e17cb7de1a7937f (patch) | |
tree | e5c1dc07e7ca785a346ef10efa7b43e212b7c884 /extra/most | |
parent | ebd15ff2a4a2dd51cc6d862bcef96a1b6d753336 (diff) | |
parent | 707457876743e969be9eb163c36928978df245cd (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/python-mpi4py/PKGBUILD
community/sword/PKGBUILD
community/xiphos/PKGBUILD
extra/bitlbee/PKGBUILD
extra/nicotine/PKGBUILD
extra/purple-plugin-pack/PKGBUILD
multilib/lib32-curl/PKGBUILD
multilib/lib32-glib2/PKGBUILD
Diffstat (limited to 'extra/most')
-rw-r--r-- | extra/most/PKGBUILD | 18 | ||||
-rw-r--r-- | extra/most/most-leak-fd.patch | 14 |
2 files changed, 25 insertions, 7 deletions
diff --git a/extra/most/PKGBUILD b/extra/most/PKGBUILD index 52a4e8806..5eeb3031d 100644 --- a/extra/most/PKGBUILD +++ b/extra/most/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD 125648 2011-05-27 17:52:54Z stephane $ -# Maintainer: juergen <juergen@archlinux.org> +# $Id: PKGBUILD 144477 2011-12-06 14:33:19Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: juergen <juergen@archlinux.org> # Contributor: Tom Newsom <Jeepster@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' 'mips64el') 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 } diff --git a/extra/most/most-leak-fd.patch b/extra/most/most-leak-fd.patch new file mode 100644 index 000000000..c8cd2af09 --- /dev/null +++ b/extra/most/most-leak-fd.patch @@ -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) |