pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/lsof Make lsof build under -current again



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb94797676f8
branches:  trunk
changeset: 462060:cb94797676f8
user:      atatat <atatat%pkgsrc.org@localhost>
date:      Fri Sep 26 03:13:04 2003 +0000

description:
Make lsof build under -current again

diffstat:

 sysutils/lsof/distinfo         |   5 +++--
 sysutils/lsof/patches/patch-ac |  22 +++++++++++++++++++++-
 sysutils/lsof/patches/patch-af |  12 ++++++++++++
 3 files changed, 36 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r 5ff997bf3be6 -r cb94797676f8 sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Fri Sep 26 03:10:20 2003 +0000
+++ b/sysutils/lsof/distinfo    Fri Sep 26 03:13:04 2003 +0000
@@ -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 -r 5ff997bf3be6 -r cb94797676f8 sysutils/lsof/patches/patch-ac
--- a/sysutils/lsof/patches/patch-ac    Fri Sep 26 03:10:20 2003 +0000
+++ b/sysutils/lsof/patches/patch-ac    Fri Sep 26 03:13:04 2003 +0000
@@ -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 @@
  #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 -r 5ff997bf3be6 -r cb94797676f8 sysutils/lsof/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/lsof/patches/patch-af    Fri Sep 26 03:13:04 2003 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index