summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2006-06-04 21:00:51 +0000
committerchristos <christos@pkgsrc.org>2006-06-04 21:00:51 +0000
commit964d14766a32a3f5dcd515453278a4ee7e35101b (patch)
treec5cd3efa860501544542efe464bc1138542227d5 /sysutils/lsof
parent867efc5e7e1a6a674407daef26d08f2a1b122354 (diff)
downloadpkgsrc-964d14766a32a3f5dcd515453278a4ee7e35101b.tar.gz
We don't export struct lockf anymore, thus we cannot print lock info.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/distinfo3
-rw-r--r--sysutils/lsof/patches/patch-ad41
2 files changed, 43 insertions, 1 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 0735dd44337..2764856fb63 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.60 2005/11/09 08:06:32 tron Exp $
+$NetBSD: distinfo,v 1.61 2006/06/04 21:00:51 christos Exp $
SHA1 (lsof_4.76.tar.bz2) = 75e1b81d8498a0dbe818e952ebada985c08ab2db
RMD160 (lsof_4.76.tar.bz2) = deee519e0f43349252951495c53ef6c2b57a7f59
@@ -6,3 +6,4 @@ Size (lsof_4.76.tar.bz2) = 704578 bytes
SHA1 (patch-aa) = 332eb1ac95d86023dde66d1b99b9335c8f54b81f
SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
SHA1 (patch-ac) = 2fd3810d79e2e534a06eef446562e9e3a95b2ffe
+SHA1 (patch-ad) = e543d447ea3946f0f7b856e20420cda89e31d14b
diff --git a/sysutils/lsof/patches/patch-ad b/sysutils/lsof/patches/patch-ad
new file mode 100644
index 00000000000..288c77b520c
--- /dev/null
+++ b/sysutils/lsof/patches/patch-ad
@@ -0,0 +1,41 @@
+$NetBSD: patch-ad,v 1.11 2006/06/04 21:00:54 christos Exp $
+
+--- dialects/n+obsd/dnode.c.orig 2005-08-08 15:53:32.000000000 -0400
++++ dialects/n+obsd/dnode.c 2006-06-04 16:57:22.000000000 -0400
+@@ -38,6 +38,10 @@
+
+ #include "lsof.h"
+
++#if __NetBSD_Version__ > 399001800
++#define NOLOCKF
++#endif
++
+
+ #if defined(HASFDESCFS) && HASFDESCFS==1
+ _PROTOTYPE(static int lkup_dev_tty,(dev_t *dr, INODETYPE *ir));
+@@ -183,7 +187,9 @@
+ unsigned char ns;
+ unsigned char rdevs;
+ char *ep, *ty;
++#ifndef NOLOCKF
+ struct lockf lf, *lff, *lfp;
++#endif
+ struct inode i;
+ struct mfsnode m;
+ struct nfsnode n;
+@@ -608,6 +614,7 @@
+
+ }
+
++#ifndef NOLOCKF
+ if ((lff = i.i_lockf)) {
+
+ /*
+@@ -656,6 +663,7 @@
+ break;
+ } while ((lfp = lf.lf_next) && lfp != lff);
+ }
++#endif
+ break;
+ default:
+ if (v->v_type == VBAD || v->v_type == VNON)