diff options
-rw-r--r-- | sysutils/lsof/distinfo | 5 | ||||
-rw-r--r-- | sysutils/lsof/patches/patch-ac | 22 | ||||
-rw-r--r-- | sysutils/lsof/patches/patch-af | 12 |
3 files changed, 36 insertions, 3 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo index 854e0d1d3a5..4bfb692bef4 100644 --- a/sysutils/lsof/distinfo +++ b/sysutils/lsof/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.30 2003/08/13 13:24:15 atatat Exp $ +$NetBSD: distinfo,v 1.31 2003/09/26 03:13:04 atatat Exp $ SHA1 (lsof_4.68.tar.gz) = 71df82816e84b4218c473a7102ff31c002192803 Size (lsof_4.68.tar.gz) = 963862 bytes SHA1 (patch-aa) = 7e13302b231240a5225fb02a604268539d956fe7 SHA1 (patch-ab) = 5c7f1c1ce17644c5c5062fcd0106c9fbcec4b5e5 -SHA1 (patch-ac) = 4cd8d56feb94008c7d54df7f3bbd0c64bcbcfbd8 +SHA1 (patch-ac) = ec12a6ab5acbeb61fe7ad7a9237a04178dbf8fad SHA1 (patch-ad) = f1c66f3903ac99dfdfce9163ede04dc3b84af2d4 SHA1 (patch-ae) = ab22b7026bb59bbaa9e41349f452b8274ccdc43a +SHA1 (patch-af) = 54c47b27f79916304d9724603ef9e337b2768016 diff --git a/sysutils/lsof/patches/patch-ac b/sysutils/lsof/patches/patch-ac index 397c026828f..5487c8cb655 100644 --- a/sysutils/lsof/patches/patch-ac +++ b/sysutils/lsof/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.10 2003/08/13 13:24:16 atatat Exp $ +$NetBSD: patch-ac,v 1.11 2003/09/26 03:13:04 atatat Exp $ Patch for vnode/DNLC interface change courtesy of lsof maintainer. @@ -31,3 +31,23 @@ Patch for vnode/DNLC interface change courtesy of lsof maintainer. #endif /* defined(HASNCACHE) */ #if defined(HASFSTRUCT) +@@ -394,6 +400,9 @@ + enter_nm(Namech); + return; + } else ++#if defined(NETBSDV) && defined(KERNFSTOV) ++#define kf_kt kfs_kt ++#endif + kn.kf_kt = (struct kern_target *)NULL; + } + /* +@@ -402,6 +411,9 @@ + */ + if (kn.kf_kt + && kread((KA_T)kn.kf_kt, (char *)&kt, sizeof(kt)) == 0 ++#if defined(NETBSDV) && defined(KERNFSTOV) ++#undef kf_kt kfs_kt ++#endif + && (ktnl = (int)kt.kt_namlen) > 0 + && kt.kt_name) + { diff --git a/sysutils/lsof/patches/patch-af b/sysutils/lsof/patches/patch-af new file mode 100644 index 00000000000..a786e2ce7a1 --- /dev/null +++ b/sysutils/lsof/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1 2003/09/26 03:13:04 atatat Exp $ + +--- dialects/n+obsd/dlsof.h.orig 2003-06-11 07:44:54.000000000 -0400 ++++ dialects/n+obsd/dlsof.h +@@ -62,6 +62,7 @@ + #define _KERNEL + # if defined(NETBSDV) + struct buf; /* dummy for function prototype in <sys/buf.h> */ ++struct uio; /* dummy for function prototype in <sys/buf.h> */ + # endif /* defined(NETBSDV) */ + #include <sys/ucred.h> + # endif /* (defined(OPENBSDV) && OPENBSDV>=3030) |