[arch-commits] Commit in psmisc/trunk (PKGBUILD psmisc-fuser.patch)
Eric Bélanger
eric at nymeria.archlinux.org
Sat Apr 26 17:21:52 UTC 2014
Date: Saturday, April 26, 2014 @ 19:21:52
Author: eric
Revision: 211799
upgpkg: psmisc 22.21-2
Fix fuser (close FS#40073)
Added:
psmisc/trunk/psmisc-fuser.patch
Modified:
psmisc/trunk/PKGBUILD
--------------------+
PKGBUILD | 12 +++++++++---
psmisc-fuser.patch | 11 +++++++++++
2 files changed, 20 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-26 17:07:49 UTC (rev 211798)
+++ PKGBUILD 2014-04-26 17:21:52 UTC (rev 211799)
@@ -3,7 +3,7 @@
pkgname=psmisc
pkgver=22.21
-pkgrel=1
+pkgrel=2
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
url="http://psmisc.sourceforge.net/index.html"
@@ -10,9 +10,15 @@
license=('GPL')
groups=('base')
depends=('ncurses')
-source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz psmisc-fuser.patch)
+sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58'
+ 'e739ad5b14ca836db5859f0755d8f2fc8e86de69')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i ../psmisc-fuser.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
Added: psmisc-fuser.patch
===================================================================
--- psmisc-fuser.patch (rev 0)
+++ psmisc-fuser.patch 2014-04-26 17:21:52 UTC (rev 211799)
@@ -0,0 +1,11 @@
+--- a/src/fuser.c
++++ b/src/fuser.c
+@@ -1174,7 +1174,7 @@
+ usage(_("No process specification given"));
+
+ /* Check if -M flag was used and if so check mounts */
+- if (opts * OPT_ISMOUNTPOINT) {
++ if (opts & OPT_ISMOUNTPOINT) {
+ check_mountpoints(&mounts, &names_head, &names_tail);
+ }
+
More information about the arch-commits
mailing list