pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Proc-ProcessTable Fix build problem on NetBSD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/375d000f7867
branches:  trunk
changeset: 528763:375d000f7867
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue May 15 13:19:13 2007 +0000

description:
Fix build problem on NetBSD>=3.

diffstat:

 devel/p5-Proc-ProcessTable/distinfo         |   3 ++-
 devel/p5-Proc-ProcessTable/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 7407b9729586 -r 375d000f7867 devel/p5-Proc-ProcessTable/distinfo
--- a/devel/p5-Proc-ProcessTable/distinfo       Tue May 15 13:15:53 2007 +0000
+++ b/devel/p5-Proc-ProcessTable/distinfo       Tue May 15 13:19:13 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/03/02 10:18:06 grant Exp $
+$NetBSD: distinfo,v 1.2 2007/05/15 13:19:13 obache Exp $
 
 SHA1 (Proc-ProcessTable-0.41.tar.gz) = ea53477f1274ea585640964fd2e0c9b5e6646548
 RMD160 (Proc-ProcessTable-0.41.tar.gz) = d1db30d2aeb1d6453c9488adce30e20e2808643c
 Size (Proc-ProcessTable-0.41.tar.gz) = 64497 bytes
+SHA1 (patch-aa) = c2b50d452b5136b3cfaac1376e8a8c49bd5e9b5b
diff -r 7407b9729586 -r 375d000f7867 devel/p5-Proc-ProcessTable/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Proc-ProcessTable/patches/patch-aa       Tue May 15 13:19:13 2007 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2007/05/15 13:19:14 obache Exp $
+
+--- os/NetBSD.h.orig   2003-05-19 16:35:17.000000000 +0000
++++ os/NetBSD.h
+@@ -1,6 +1,11 @@
+ #include <sys/types.h>
+ #include <sys/param.h>
++#if defined(__NetBSD__) && __NetBSD_Version__ > 299000900
++#include <sys/statvfs.h>
++#define statfs statvfs
++#else
+ #include <sys/mount.h>
++#endif
+ #include <sys/stat.h>
+ #include <ctype.h>
+ #include <dirent.h>



Home | Main Index | Thread Index | Old Index