summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorkim <kim>2004-11-07 18:16:27 +0000
committerkim <kim>2004-11-07 18:16:27 +0000
commitb4e32233c4fb80ca81d2b0cedaf90d1e701833a3 (patch)
tree217b0cca7c6cf8d411d93e0cbbf519c77307a624 /sysutils/lsof
parentfcf80f0a35ec1b06d7f27d9d7d9843bb2c304d35 (diff)
downloadpkgsrc-b4e32233c4fb80ca81d2b0cedaf90d1e701833a3.tar.gz
Needs <sys/bufq.h> on 2.99.10
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/distinfo4
-rw-r--r--sysutils/lsof/patches/patch-ab16
-rw-r--r--sysutils/lsof/patches/patch-ac26
3 files changed, 45 insertions, 1 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index a4d7e55f83e..319d09a2f9f 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.43 2004/10/21 13:09:20 atatat Exp $
+$NetBSD: distinfo,v 1.44 2004/11/07 18:16:27 kim Exp $
SHA1 (lsof_4.73.tar.bz2) = 3e8112f854fc83f5e5dfdc9271c8d27d31aefc6c
Size (lsof_4.73.tar.bz2) = 725530 bytes
SHA1 (patch-aa) = 36790019394b4088c226222d4aefaec50430bcf3
+SHA1 (patch-ab) = 339dde4ed2d24fbfcfadb52f0cc5dfe2b1861170
+SHA1 (patch-ac) = c4f10dfb62e0f6106cc086e6a3f1df28a0e11e26
diff --git a/sysutils/lsof/patches/patch-ab b/sysutils/lsof/patches/patch-ab
new file mode 100644
index 00000000000..0ad19a2e20c
--- /dev/null
+++ b/sysutils/lsof/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.30 2004/11/07 18:16:27 kim Exp $
+
+--- dialects/n+obsd/dlsof.h.orig 2004-03-10 18:51:36.000000000 -0500
++++ dialects/n+obsd/dlsof.h 2004-11-07 13:12:14.000000000 -0500
+@@ -245,6 +245,11 @@
+ #undef DIRENT_DIRBLKSIZ
+ # endif /*defined(DIRENT_BLKSIZ) */
+
++# if defined(NETBSDV) && NETBSDV>=2991
++#define _KERNEL
++#include <sys/bufq.h>
++#undef _KERNEL
++# endif /* defined(NETBSDV) && NETBSDV>=2991 */
+ #undef KERNEL
+ #include <ufs/mfs/mfsnode.h>
+
diff --git a/sysutils/lsof/patches/patch-ac b/sysutils/lsof/patches/patch-ac
new file mode 100644
index 00000000000..a0ea0839f9c
--- /dev/null
+++ b/sysutils/lsof/patches/patch-ac
@@ -0,0 +1,26 @@
+$NetBSD: patch-ac,v 1.18 2004/11/07 18:16:27 kim Exp $
+
+--- Configure.orig 2004-10-19 15:36:21.000000000 -0400
++++ Configure 2004-11-07 13:13:33.000000000 -0500
+@@ -2298,7 +2298,11 @@
+ ;;
+ 2.99.9)
+ LSOF_TSTBIGF=" "
+- LSOF_VERS="2999"
++ LSOF_VERS="2990"
++ ;;
++ 2.99.1[0-9])
++ LSOF_TSTBIGF=" "
++ LSOF_VERS="2991"
+ ;;
+ 2*)
+ LSOF_VERS=2000
+@@ -2316,7 +2320,7 @@
+ # Test for legal NetBSD version.
+
+ case $LSOF_VERS in # {
+- 1000|1010|1020|1030|1040|1050|1060|2000|2999)
++ 1000|1010|1020|1030|1040|1050|1060|2000|2990|2991)
+ ;;
+ *)
+ echo "Unknown NetBSD version: $LSOF_VERS"