pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lsof We need to define VNODE_VFLAG and NCACHE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e492aaf3542c
branches:  trunk
changeset: 535541:e492aaf3542c
user:      apb <apb%pkgsrc.org@localhost>
date:      Wed Nov 21 21:01:40 2007 +0000

description:
We need to define VNODE_VFLAG and NCACHE_VROOT to build on older
versions of NetBSD.  Thanks to PR/37393 from Yakovetsky Vladimir
for the hint.

diffstat:

 sysutils/lsof/distinfo         |  4 ++--
 sysutils/lsof/patches/patch-af |  7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 11368fa00ce9 -r e492aaf3542c sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Wed Nov 21 20:42:16 2007 +0000
+++ b/sysutils/lsof/distinfo    Wed Nov 21 21:01:40 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.70 2007/11/21 20:42:16 apb Exp $
+$NetBSD: distinfo,v 1.71 2007/11/21 21:01:40 apb Exp $
 
 SHA1 (lsof_4.78.tar.bz2) = 0379fc9f38a931ce19e8386e662314d96fc2a099
 RMD160 (lsof_4.78.tar.bz2) = 50d71e500f1109cda717b73ce209c0e100a6dbe9
@@ -7,5 +7,5 @@
 SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
 SHA1 (patch-ad) = 3c0444a3a22520abdce4584c3fe07334662cea15
 SHA1 (patch-ae) = 1d8c1c3baf9575631c23d3ced7b12fab1df95cd6
-SHA1 (patch-af) = c36fedd83b27b7beccb125370faf01a09e7275bf
+SHA1 (patch-af) = a4778b1cf401b2a0143d78fd3d2b3a2f31ff9162
 SHA1 (patch-ag) = b992cc4a80563f143e72fe3f27557a460af38121
diff -r 11368fa00ce9 -r e492aaf3542c sysutils/lsof/patches/patch-af
--- a/sysutils/lsof/patches/patch-af    Wed Nov 21 20:42:16 2007 +0000
+++ b/sysutils/lsof/patches/patch-af    Wed Nov 21 21:01:40 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.11 2007/11/21 11:01:55 apb Exp $
+$NetBSD: patch-af,v 1.12 2007/11/21 21:01:40 apb Exp $
 
 --- dialects/n+obsd/dlsof.h.orig       2006-03-28 23:54:15.000000000 +0200
 +++ dialects/n+obsd/dlsof.h
@@ -41,13 +41,16 @@
        char *dir;                      /* mounted directory */
        char *fsname;                   /* file system name */
        struct l_vfs *next;             /* forward link */
-@@ -581,4 +589,9 @@ struct sfile {
+@@ -581,4 +589,12 @@ struct sfile {
  #  endif      /* defined(HASNCVPID) */
  # endif  /* defined(HASNCACHE) */
  
 +#if     defined(VV_ROOT)              /* NetBSD >= 4.99.33 */
 +#define VNODE_VFLAG     v_vflag
 +#define NCACHE_VROOT    VV_ROOT
++#else
++#define VNODE_VFLAG     v_flag
++#define NCACHE_VROOT    V_ROOT
 +#endif  /* VV_ROOT */
 +
  #endif        /* NETBSD_LSOF_H */



Home | Main Index | Thread Index | Old Index