diff options
Diffstat (limited to 'core/psmisc')
-rw-r--r-- | core/psmisc/PKGBUILD | 10 | ||||
-rw-r--r-- | core/psmisc/psmisc22.18-usage.patch | 11 |
2 files changed, 17 insertions, 4 deletions
diff --git a/core/psmisc/PKGBUILD b/core/psmisc/PKGBUILD index 5aff0c1d7..ab17fcc8e 100644 --- a/core/psmisc/PKGBUILD +++ b/core/psmisc/PKGBUILD @@ -1,20 +1,22 @@ -# $Id: PKGBUILD 162104 2012-06-20 02:05:56Z eric $ +# $Id: PKGBUILD 162110 2012-06-20 09:21:46Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=psmisc pkgver=22.18 -pkgrel=1 +pkgrel=2 pkgdesc="Miscellaneous procfs tools" arch=('i686' 'x86_64') url="http://psmisc.sourceforge.net/index.html" license=('GPL') groups=('base') depends=('ncurses') -source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz) -sha1sums=('964f6daa0950b128a0840d9df4dc0b671730a83c') +source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz psmisc22.18-usage.patch) +sha1sums=('964f6daa0950b128a0840d9df4dc0b671730a83c' + '5cd326dd969b07c46d10c7d1172b91d65cbc6e10') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/psmisc22.18-usage.patch" ./configure --prefix=/usr make } diff --git a/core/psmisc/psmisc22.18-usage.patch b/core/psmisc/psmisc22.18-usage.patch new file mode 100644 index 000000000..7736a6542 --- /dev/null +++ b/core/psmisc/psmisc22.18-usage.patch @@ -0,0 +1,11 @@ +diff -Naur psmisc-22.18-orig/src/killall.c psmisc-22.18/src/killall.c +--- psmisc-22.18-orig/src/killall.c 2012-06-20 05:07:16.563742846 -0400 ++++ psmisc-22.18/src/killall.c 2012-06-20 05:08:38.250412923 -0400 +@@ -637,6 +637,7 @@ + " (must precede other arguments)\n")); + #endif /*WITH_SELINUX*/ + fputc('\n', stderr); ++ exit (1); + } + + |