summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorseb <seb>2009-05-17 20:40:46 +0000
committerseb <seb>2009-05-17 20:40:46 +0000
commita8bb1ac32282ab27740928ed59cbcc48bbdc9d30 (patch)
tree6bcca0cccdec831f85d2c4e2ad06c90af3a8c507 /sysutils/lsof
parentf7ed5e7fc819184a962fac413b8bed44b701f1c2 (diff)
downloadpkgsrc-a8bb1ac32282ab27740928ed59cbcc48bbdc9d30.tar.gz
Fix build on NetBSD 3.1_STABLE, tested on i386 and sparc64.
Also built/tested ok on NetBSD/i386 4.0.1 and 5.0.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/distinfo4
-rw-r--r--sysutils/lsof/patches/patch-af26
2 files changed, 26 insertions, 4 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 1e25e342b31..75366f817cd 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.75 2009/05/01 12:56:50 apb Exp $
+$NetBSD: distinfo,v 1.76 2009/05/17 20:40:46 seb Exp $
SHA1 (lsof_4.78.tar.bz2) = 0379fc9f38a931ce19e8386e662314d96fc2a099
RMD160 (lsof_4.78.tar.bz2) = 50d71e500f1109cda717b73ce209c0e100a6dbe9
@@ -8,6 +8,6 @@ SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
SHA1 (patch-ac) = dac0fcdfee97d42c8f23684a4321519b9f8698d9
SHA1 (patch-ad) = 4bd73dea4770c7f5a43be0d096c26e7d6728dd2c
SHA1 (patch-ae) = 1d8c1c3baf9575631c23d3ced7b12fab1df95cd6
-SHA1 (patch-af) = 7481b1d10b12b7c6216858db30b25a3b985e4d3d
+SHA1 (patch-af) = b52c15a507960ecf33a61a3cbd608a92ebac1188
SHA1 (patch-ag) = 2f14b7954976e3b3d43034e13bf31d14ca65e4e3
SHA1 (patch-ah) = 0ed8ca9cc34d85dc01b135e70077c922d26d8831
diff --git a/sysutils/lsof/patches/patch-af b/sysutils/lsof/patches/patch-af
index 03e653e7a69..c602f56b683 100644
--- a/sysutils/lsof/patches/patch-af
+++ b/sysutils/lsof/patches/patch-af
@@ -1,7 +1,29 @@
-$NetBSD: patch-af,v 1.13 2007/12/17 11:13:41 tron Exp $
+$NetBSD: patch-af,v 1.14 2009/05/17 20:40:46 seb Exp $
---- dialects/n+obsd/dlsof.h.orig 2006-03-28 23:54:15.000000000 +0200
+--- dialects/n+obsd/dlsof.h.orig 2006-03-28 21:54:15.000000000 +0000
+++ dialects/n+obsd/dlsof.h
+@@ -95,6 +95,10 @@ struct uio; /* dummy for function protot
+ # endif /* (defined(OPENBSDV) && OPENBSDV<3030)
+ || (defined(NETBSDV) && __NetBSD_Version__>=106060000) */
+
++# if defined(NETBSDV) && NETBSDV>=1003000
++#define sockproto NETBSD_sockproto
++# endif /* defined(NETBSDV) && NETBSDV>=1003000 */
++
+ #include <sys/mount.h>
+
+ # if (defined(OPENBSDV) && OPENBSDV>=3030) \
+@@ -106,10 +110,6 @@ struct uio; /* dummy for function protot
+ #include <rpc/types.h>
+ #include <sys/protosw.h>
+
+-# if defined(NETBSDV) && NETBSDV>=1003000
+-#define sockproto NETBSD_sockproto
+-# endif /* defined(NETBSDV) && NETBSDV>=1003000 */
+-
+ #include <sys/socket.h>
+
+ # if defined(HASMSDOSFS)
@@ -161,6 +161,7 @@ struct nameidata; /* to satisfy a functi
#include <sys/socketvar.h>
#include <sys/un.h>