pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lsof Fix build on NetBSD-current which droppe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2378d9103e72
branches:  trunk
changeset: 532139:2378d9103e72
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Aug 12 14:22:49 2007 +0000

description:
Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there.

diffstat:

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

diffs (51 lines):

diff -r ac1f66facbb9 -r 2378d9103e72 sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Sun Aug 12 14:06:55 2007 +0000
+++ b/sysutils/lsof/distinfo    Sun Aug 12 14:22:49 2007 +0000
@@ -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-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
 SHA1 (patch-ad) = bbdd2c4c997233f7743a0c99ffcc6ce29679a8a9
 SHA1 (patch-ae) = ba3804e89101fb504edd33983f35904559a63dbf
-SHA1 (patch-af) = 0ceeb8e4a704d89aba5b9271d17afe038d877e8f
+SHA1 (patch-af) = d4012b9e06762a6fdef61524ca9b155021f5a95e
diff -r ac1f66facbb9 -r 2378d9103e72 sysutils/lsof/patches/patch-af
--- a/sysutils/lsof/patches/patch-af    Sun Aug 12 14:06:55 2007 +0000
+++ b/sysutils/lsof/patches/patch-af    Sun Aug 12 14:22:49 2007 +0000
@@ -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 @@
  #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) */
  



Home | Main Index | Thread Index | Old Index