CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
psmisc: updated to 22.21 and updated mandir
authorVictor Martinez <pitillo@ono.com>
Fri, 13 Nov 2015 10:55:09 +0000 (10:55 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 13 Nov 2015 10:55:09 +0000 (10:55 +0000)
psmisc/.footprint
psmisc/.md5sum
psmisc/Pkgfile
psmisc/fuseropts.patch [new file with mode: 0644]

index 5a29ea90100a297fdb035423575773f9e22f9899..92b5fcfcca1ae25a0ad88470e817a60e62607684 100644 (file)
@@ -5,10 +5,11 @@ drwxr-xr-x    root/root       usr/bin/
 -rwxr-xr-x     root/root       usr/bin/peekfd
 -rwxr-xr-x     root/root       usr/bin/prtstat
 -rwxr-xr-x     root/root       usr/bin/pstree
-drwxr-xr-x     root/root       usr/man/
-drwxr-xr-x     root/root       usr/man/man1/
--rw-r--r--     root/root       usr/man/man1/fuser.1.gz
--rw-r--r--     root/root       usr/man/man1/killall.1.gz
--rw-r--r--     root/root       usr/man/man1/peekfd.1.gz
--rw-r--r--     root/root       usr/man/man1/prtstat.1.gz
--rw-r--r--     root/root       usr/man/man1/pstree.1.gz
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/man/
+drwxr-xr-x     root/root       usr/share/man/man1/
+-rw-r--r--     root/root       usr/share/man/man1/fuser.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/killall.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/peekfd.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/prtstat.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/pstree.1.gz
index 416bd4366c38efb77d06b229017f788fed59ca3c..581840db37433f49cd05bebc591809d6fa29b219 100644 (file)
@@ -1 +1,2 @@
+6d0386913eb0a88e43aa9bc868cb0eb5  fuseropts.patch
 935c0fd6eb208288262b385fa656f1bf  psmisc-22.21.tar.gz
index e9500a516fd88cd25b1a67b271c83fa24249cd1a..ac0117ea4e09fe3bf2fe1885be31006d3472d7b8 100644 (file)
@@ -6,8 +6,9 @@
 
 name=psmisc
 version=22.21
-release=1
-source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz)
+release=3
+source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz \
+        fuseropts.patch)
 
 build() {
   cd $name-$version
@@ -17,11 +18,13 @@ ac_cv_func_malloc_0_nonnull=yes
 ac_cv_func_realloc_0_nonnull=yes
 EOF
 
+  # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740275
+  patch -p1 -i $SRC/fuseropts.patch
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --disable-nls \
-              --mandir=/usr/man \
               --cache-file=config.cache
   
   make
diff --git a/psmisc/fuseropts.patch b/psmisc/fuseropts.patch
new file mode 100644 (file)
index 0000000..3bac333
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur a/src/fuser.c b/src/fuser.c
+--- a/src/fuser.c      2014-01-31 08:07:32.000000000 -0500
++++ b/src/fuser.c      2014-02-27 12:34:44.352910007 -0500
+@@ -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);
+       }