pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lsof This should also fix the lsof build on 3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fcba757706a
branches:  trunk
changeset: 491330:3fcba757706a
user:      atatat <atatat%pkgsrc.org@localhost>
date:      Wed Mar 23 04:35:56 2005 +0000

description:
This should also fix the lsof build on 3.0_BETA.  Similar changes will
appear in the next release of lsof.  This patch is adapted from a
pre-release by the author.

diffstat:

 sysutils/lsof/distinfo         |   4 ++--
 sysutils/lsof/patches/patch-ab |  40 ++++++++++++++++++++++++++++++++--------
 2 files changed, 34 insertions(+), 10 deletions(-)

diffs (75 lines):

diff -r 39e621b8502f -r 3fcba757706a sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Wed Mar 23 04:07:03 2005 +0000
+++ b/sysutils/lsof/distinfo    Wed Mar 23 04:35:56 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.51 2005/03/19 19:47:33 atatat Exp $
+$NetBSD: distinfo,v 1.52 2005/03/23 04:35:56 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
+SHA1 (patch-ab) = bc026d4b9e09ce3b3f459791671dfac24b8e4815
diff -r 39e621b8502f -r 3fcba757706a sysutils/lsof/patches/patch-ab
--- a/sysutils/lsof/patches/patch-ab    Wed Mar 23 04:07:03 2005 +0000
+++ b/sysutils/lsof/patches/patch-ab    Wed Mar 23 04:35:56 2005 +0000
@@ -1,26 +1,50 @@
-$NetBSD: patch-ab,v 1.34 2005/03/19 19:47:33 atatat Exp $
+$NetBSD: patch-ab,v 1.35 2005/03/23 04:35:56 atatat Exp $
 
-Fix build on 3.99.x current.
+Fix build on 3.0 branch and 3.99.x current.
 
 --- Configure.orig     2005-01-17 08:24:32.000000000 -0500
 +++ Configure
-@@ -2355,6 +2355,10 @@ return(0); }
+@@ -2346,15 +2346,28 @@ return(0); }
+       LSOF_TSTBIGF=" "
+       LSOF_VERS="2099010"
+       ;;
+-      2.99.11)
++      2.99.*)
+       LSOF_TSTBIGF=" "
+-      LSOF_VERS="2099011"
++      LSOF_VERS="2099010"
+       ;;
+       2*)
+       LSOF_VERS="2000000"
        echo "!!!WARNING!!!  Unsupported NetBSD version: $LSOF_VSTR"
        echo "!!!WARNING!!!  Configuring for NetBSD 2.0"
        ;;
++      3.0*)
++      LSOF_TSTBIGF=" "
++      LSOF_VERS="3000000"
++      ;;
 +      3.99.*)
 +      LSOF_TSTBIGF=" "
 +      LSOF_VERS="3099000"
 +      ;;
++      3*)
++      LSOF_VERS="3000000"
++      echo "!!!WARNING!!!  Unsupported NetBSD version: $LSOF_VSTR"
++      echo "!!!WARNING!!!  Configuring for NetBSD 3.0"
++      ;;
        *)
        echo "Unknown NetBSD release: $LSOF_VSTR"
        echo Assuming NetBSD 1.6
-@@ -2368,6 +2372,8 @@ return(0); }
+@@ -2366,7 +2379,11 @@ return(0); }
+     # Test for legal NetBSD version.
+ 
      case $LSOF_VERS in        # {
-     1002000|1003000|1004000|1005000|1006000|2000000|2099009|2099010|2099011)
+-    1002000|1003000|1004000|1005000|1006000|2000000|2099009|2099010|2099011)
++    1002000|1003000|1004000|1005000|1006000)
++      ;;
++    2000000|2099009|2099010)
++      ;;
++    3000000|3099000)
        ;;
-+    3099000)
-+      ;;
      *)
        echo "Unknown NetBSD version: $LSOF_VERS"
-       rm -f $LSOF_HLP



Home | Main Index | Thread Index | Old Index