pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lsof Check for actual existance of sys/bufq.h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b9e3ee27f5f
branches:  trunk
changeset: 483431:0b9e3ee27f5f
user:      erh <erh%pkgsrc.org@localhost>
date:      Fri Nov 12 05:41:36 2004 +0000

description:
Check for actual existance of sys/bufq.h instead of just relying on uname.

diffstat:

 sysutils/lsof/distinfo         |   4 ++--
 sysutils/lsof/patches/patch-ac |  16 ++++++++++------
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r b06c866d0461 -r 0b9e3ee27f5f sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Fri Nov 12 05:23:33 2004 +0000
+++ b/sysutils/lsof/distinfo    Fri Nov 12 05:41:36 2004 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.44 2004/11/07 18:16:27 kim Exp $
+$NetBSD: distinfo,v 1.45 2004/11/12 05:41:36 erh 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
+SHA1 (patch-ac) = f8ea499518695f5dbed2536c89373840fc3272c9
diff -r b06c866d0461 -r 0b9e3ee27f5f sysutils/lsof/patches/patch-ac
--- a/sysutils/lsof/patches/patch-ac    Fri Nov 12 05:23:33 2004 +0000
+++ b/sysutils/lsof/patches/patch-ac    Fri Nov 12 05:41:36 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.18 2004/11/07 18:16:27 kim Exp $
+$NetBSD: patch-ac,v 1.19 2004/11/12 05:41:36 erh Exp $
 
---- Configure.orig     2004-10-19 15:36:21.000000000 -0400
-+++ Configure  2004-11-07 13:13:33.000000000 -0500
-@@ -2298,7 +2298,11 @@
+--- Configure.orig     2004-10-19 19:36:21.000000000 +0000
++++ Configure  2004-11-12 05:35:16.000000000 +0000
+@@ -2298,7 +2298,15 @@
        ;;
        2.99.9)
        LSOF_TSTBIGF=" "
@@ -11,11 +11,15 @@
 +      ;;
 +      2.99.1[0-9])
 +      LSOF_TSTBIGF=" "
-+      LSOF_VERS="2991"
++      LSOF_VERS="2990"
++      if test -r ${LSOF_INCLUDE}/sys/bufq.h
++      then
++              LSOF_VERS="2991"
++      fi
        ;;
        2*)
        LSOF_VERS=2000
-@@ -2316,7 +2320,7 @@
+@@ -2316,7 +2324,7 @@
      # Test for legal NetBSD version.
  
      case $LSOF_VERS in        # {



Home | Main Index | Thread Index | Old Index