pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lsof Make this build again with NetBSD older ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b96a5a22437
branches:  trunk
changeset: 516936:8b96a5a22437
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Aug 01 12:29:59 2006 +0000

description:
Make this build again with NetBSD older than 3.99.24.

diffstat:

 sysutils/lsof/distinfo         |   4 ++--
 sysutils/lsof/patches/patch-ae |  10 +++++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r 3cb98d37150f -r 8b96a5a22437 sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Tue Aug 01 12:24:12 2006 +0000
+++ b/sysutils/lsof/distinfo    Tue Aug 01 12:29:59 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2006/08/01 12:24:12 tron Exp $
+$NetBSD: distinfo,v 1.63 2006/08/01 12:29:59 tron Exp $
 
 SHA1 (lsof_4.76.tar.bz2) = 75e1b81d8498a0dbe818e952ebada985c08ab2db
 RMD160 (lsof_4.76.tar.bz2) = deee519e0f43349252951495c53ef6c2b57a7f59
@@ -7,4 +7,4 @@
 SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
 SHA1 (patch-ac) = 2fd3810d79e2e534a06eef446562e9e3a95b2ffe
 SHA1 (patch-ad) = e543d447ea3946f0f7b856e20420cda89e31d14b
-SHA1 (patch-ae) = e9a496966e39d54d496bcd2f25f9dd87c314f8bf
+SHA1 (patch-ae) = ba3804e89101fb504edd33983f35904559a63dbf
diff -r 3cb98d37150f -r 8b96a5a22437 sysutils/lsof/patches/patch-ae
--- a/sysutils/lsof/patches/patch-ae    Tue Aug 01 12:24:12 2006 +0000
+++ b/sysutils/lsof/patches/patch-ae    Tue Aug 01 12:29:59 2006 +0000
@@ -1,15 +1,19 @@
-$NetBSD: patch-ae,v 1.9 2006/08/01 12:24:12 tron Exp $
+$NetBSD: patch-ae,v 1.10 2006/08/01 12:29:59 tron Exp $
 
 --- dialects/n+obsd/dmnt.c.orig        2005-08-08 20:53:31.000000000 +0100
-+++ dialects/n+obsd/dmnt.c     2006-08-01 13:20:30.000000000 +0100
-@@ -45,6 +45,11 @@
++++ dialects/n+obsd/dmnt.c     2006-08-01 13:25:57.000000000 +0100
+@@ -45,6 +45,15 @@
  #include <sys/statvfs.h>
  #endif  /* defined(NETBSDV) && defined(HASSTATVFS) */
  
 +#if defined(NETBSDV)
++#include <sys/param.h>
++
++#if __NetBSD_Version__ >= 399002400
 +#include <sys/types.h>
 +#include <sys/mount.h>
 +#endif
++#endif
 +
  #include "lsof.h"
  



Home | Main Index | Thread Index | Old Index