diff options
author | obache <obache@pkgsrc.org> | 2007-05-15 13:19:13 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-05-15 13:19:13 +0000 |
commit | a39d6ccf84840b59cdc2e93863720d651b72eb90 (patch) | |
tree | 00a1c3caa004aa1817c2cbd55a44d4cd07e93522 /devel | |
parent | 03ced2b309d470bfb31f5bf0a556f4031344abae (diff) | |
download | pkgsrc-a39d6ccf84840b59cdc2e93863720d651b72eb90.tar.gz |
Fix build problem on NetBSD>=3.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Proc-ProcessTable/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Proc-ProcessTable/patches/patch-aa | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/p5-Proc-ProcessTable/distinfo b/devel/p5-Proc-ProcessTable/distinfo index 71a8522c0e2..c0471aea934 100644 --- a/devel/p5-Proc-ProcessTable/distinfo +++ b/devel/p5-Proc-ProcessTable/distinfo @@ -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 --git a/devel/p5-Proc-ProcessTable/patches/patch-aa b/devel/p5-Proc-ProcessTable/patches/patch-aa new file mode 100644 index 00000000000..023615ba5e4 --- /dev/null +++ b/devel/p5-Proc-ProcessTable/patches/patch-aa @@ -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> |