summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorseb <seb>2007-08-12 14:22:49 +0000
committerseb <seb>2007-08-12 14:22:49 +0000
commit79c76ba8b45c8466de400a931f7c860d3153372e (patch)
treea4875e34ce68666ca751db0e92bba96f293b076b /sysutils/lsof
parent9bb4a74f0d5fedd834c061923d598da0a36e80fd (diff)
downloadpkgsrc-79c76ba8b45c8466de400a931f7c860d3153372e.tar.gz
Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/distinfo4
-rw-r--r--sysutils/lsof/patches/patch-af21
2 files changed, 18 insertions, 7 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 05b49e01ea5..7e690eec0c5 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.66 2007/05/06 21:42:02 christos Exp $
+$NetBSD: distinfo,v 1.67 2007/08/12 14:22:49 seb Exp $
SHA1 (lsof_4.78.tar.bz2) = 0379fc9f38a931ce19e8386e662314d96fc2a099
RMD160 (lsof_4.78.tar.bz2) = 50d71e500f1109cda717b73ce209c0e100a6dbe9
@@ -7,4 +7,4 @@ SHA1 (patch-aa) = 332eb1ac95d86023dde66d1b99b9335c8f54b81f
SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
SHA1 (patch-ad) = bbdd2c4c997233f7743a0c99ffcc6ce29679a8a9
SHA1 (patch-ae) = ba3804e89101fb504edd33983f35904559a63dbf
-SHA1 (patch-af) = 0ceeb8e4a704d89aba5b9271d17afe038d877e8f
+SHA1 (patch-af) = d4012b9e06762a6fdef61524ca9b155021f5a95e
diff --git a/sysutils/lsof/patches/patch-af b/sysutils/lsof/patches/patch-af
index 61c56008e6c..3be58809b89 100644
--- a/sysutils/lsof/patches/patch-af
+++ b/sysutils/lsof/patches/patch-af
@@ -1,8 +1,19 @@
-$NetBSD: patch-af,v 1.7 2007/05/06 21:41:30 christos Exp $
+$NetBSD: patch-af,v 1.8 2007/08/12 14:22:49 seb Exp $
---- dialects/n+obsd/dlsof.h.orig 2006-03-28 16:54:15.000000000 -0500
-+++ dialects/n+obsd/dlsof.h 2007-05-06 17:37:00.000000000 -0400
-@@ -161,6 +161,7 @@
+--- dialects/n+obsd/dlsof.h.orig 2006-03-28 21:54:15.000000000 +0000
++++ dialects/n+obsd/dlsof.h
+@@ -97,6 +97,10 @@ struct uio; /* dummy for function protot
+
+ #include <sys/mount.h>
+
++#if defined(NETBSDV) && !defined(MFSNAMELEN) && defined(_VFS_NAMELEN)
++#define MFSNAMELEN _VFS_NAMELEN
++#endif
++
+ # if (defined(OPENBSDV) && OPENBSDV>=3030) \
+ || (defined(NETBSDV) && __NetBSD_Version__>=106060000)
+ #undef _KERNEL
+@@ -161,6 +165,7 @@ struct nameidata; /* to satisfy a functi
#include <sys/socketvar.h>
#include <sys/un.h>
#include <sys/unpcb.h>
@@ -10,7 +21,7 @@ $NetBSD: patch-af,v 1.7 2007/05/06 21:41:30 christos Exp $
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
-@@ -170,7 +171,6 @@
+@@ -170,7 +175,6 @@ struct nameidata; /* to satisfy a functi
#include <netinet6/in6_pcb.h>
# endif /* defined(HASIPv6) && defined(NETBSDV) && !defined(HASINRIAIPv6) */