diff options
author | apb <apb@pkgsrc.org> | 2007-11-21 21:01:40 +0000 |
---|---|---|
committer | apb <apb@pkgsrc.org> | 2007-11-21 21:01:40 +0000 |
commit | 7af5cd05edbf18c7fa9ece0c5f4ebfcf1bde1320 (patch) | |
tree | 8ce27775740736912418060b40330883fa80a43f /sysutils | |
parent | 9d9d2f15378f741213a8ce71b242ddbeb7bc1799 (diff) | |
download | pkgsrc-7af5cd05edbf18c7fa9ece0c5f4ebfcf1bde1320.tar.gz |
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 (limited to 'sysutils')
-rw-r--r-- | sysutils/lsof/distinfo | 4 | ||||
-rw-r--r-- | sysutils/lsof/patches/patch-af | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo index 22bb0401c36..e5c8a7a7258 100644 --- a/sysutils/lsof/distinfo +++ b/sysutils/lsof/distinfo @@ -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-aa) = 051015025297ab131c30ceb62e926750c365d14a 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 --git a/sysutils/lsof/patches/patch-af b/sysutils/lsof/patches/patch-af index 2859e80d187..0db16409f47 100644 --- a/sysutils/lsof/patches/patch-af +++ b/sysutils/lsof/patches/patch-af @@ -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 @@ $NetBSD: patch-af,v 1.11 2007/11/21 11:01:55 apb Exp $ 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 */ |