summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authoratatat <atatat@pkgsrc.org>2005-03-19 19:47:33 +0000
committeratatat <atatat@pkgsrc.org>2005-03-19 19:47:33 +0000
commit848d548ad4f71a43c95b889e719d2c212507f09b (patch)
treebf79a1273f1fd3ab6928bd2d52f5b78ef3e73359 /sysutils/lsof
parent5802bba69a2878ad42dc0aa0f4bc5c0d15618c77 (diff)
downloadpkgsrc-848d548ad4f71a43c95b889e719d2c212507f09b.tar.gz
Fix lsof build on NetBSD 3.99.1
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/distinfo3
-rw-r--r--sysutils/lsof/patches/patch-ab26
2 files changed, 28 insertions, 1 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index e10f700446f..1c0062e467d 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.50 2005/02/24 13:40:54 agc Exp $
+$NetBSD: distinfo,v 1.51 2005/03/19 19:47:33 atatat Exp $
SHA1 (lsof_4.74.tar.bz2) = eed401b9d32bc009be48359ffb3bcdea119570d6
RMD160 (lsof_4.74.tar.bz2) = f167101e8a248f7f2ed1dd95631ede47cbb26a85
Size (lsof_4.74.tar.bz2) = 732392 bytes
SHA1 (patch-aa) = 332eb1ac95d86023dde66d1b99b9335c8f54b81f
+SHA1 (patch-ab) = 551821b8cc371bc22d4142ddcf5a5731444f74ee
diff --git a/sysutils/lsof/patches/patch-ab b/sysutils/lsof/patches/patch-ab
new file mode 100644
index 00000000000..219512247fe
--- /dev/null
+++ b/sysutils/lsof/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.34 2005/03/19 19:47:33 atatat Exp $
+
+Fix build on 3.99.x current.
+
+--- Configure.orig 2005-01-17 08:24:32.000000000 -0500
++++ Configure
+@@ -2355,6 +2355,10 @@ return(0); }
+ echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR"
+ echo "!!!WARNING!!! Configuring for NetBSD 2.0"
+ ;;
++ 3.99.*)
++ LSOF_TSTBIGF=" "
++ LSOF_VERS="3099000"
++ ;;
+ *)
+ echo "Unknown NetBSD release: $LSOF_VSTR"
+ echo Assuming NetBSD 1.6
+@@ -2368,6 +2372,8 @@ return(0); }
+ case $LSOF_VERS in # {
+ 1002000|1003000|1004000|1005000|1006000|2000000|2099009|2099010|2099011)
+ ;;
++ 3099000)
++ ;;
+ *)
+ echo "Unknown NetBSD version: $LSOF_VERS"
+ rm -f $LSOF_HLP