diff options
author | he <he@pkgsrc.org> | 2015-08-16 08:39:02 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2015-08-16 08:39:02 +0000 |
commit | 37d73292e24b0707d4064ed2d0efbb1e23f4e899 (patch) | |
tree | f13c22d5a9e120dbbb471a193c7309be07c0ab0b | |
parent | 0611501ef18f737bf1cc44744adc1cd4cd413624 (diff) | |
download | pkgsrc-37d73292e24b0707d4064ed2d0efbb1e23f4e899.tar.gz |
One more build fix for more modern NetBSD than netbsd-6...
-rw-r--r-- | sysutils/collectd/distinfo | 4 | ||||
-rw-r--r-- | sysutils/collectd/patches/patch-src_df.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/collectd/distinfo b/sysutils/collectd/distinfo index 22c96a45602..fa73fa84e0e 100644 --- a/sysutils/collectd/distinfo +++ b/sysutils/collectd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2015/08/16 08:01:58 he Exp $ +$NetBSD: distinfo,v 1.14 2015/08/16 08:39:02 he Exp $ SHA1 (collectd-5.5.0.tar.gz) = d24e284c1eae20c5e75b846c8b2612ab65bd5565 RMD160 (collectd-5.5.0.tar.gz) = 2197758942a5fe56e4eabda3786f09d4138e943a @@ -10,7 +10,7 @@ SHA1 (patch-src_Makefile.in) = f94d046ee323fdb9251ad49cf383b3a61df5dcaa SHA1 (patch-src_collectd-tg.c) = f9f41dfb0b1b55a62202128a165d5c9943faf5bc SHA1 (patch-src_collectd.conf.in) = f0b35085cf0ddfd766e140b145177ab1f1326f5f SHA1 (patch-src_config.h.in) = 911a0441e15e0a85bb4819f1b49eaddbdd5c9d1c -SHA1 (patch-src_df.c) = 19cca888b183a90759b359702e4d65c8afa6e58d +SHA1 (patch-src_df.c) = 4e3bb664bc9795bd22947695145083ca5f2b08d3 SHA1 (patch-src_disk.c) = 159862e8ca1e841e3c4013c03ba03f059fdbbab5 SHA1 (patch-src_entropy.c) = d9bfa1bd4d045f2218105eaadf2dda90b7fc4646 SHA1 (patch-src_libcollectclient_network__buffer.c) = e07d403d299613fa0885a0e7285849eb85510253 diff --git a/sysutils/collectd/patches/patch-src_df.c b/sysutils/collectd/patches/patch-src_df.c index 353454c15ba..0d57ad7f3b1 100644 --- a/sysutils/collectd/patches/patch-src_df.c +++ b/sysutils/collectd/patches/patch-src_df.c @@ -1,6 +1,7 @@ -$NetBSD: patch-src_df.c,v 1.1 2014/02/17 11:21:55 fhajny Exp $ +$NetBSD: patch-src_df.c,v 1.2 2015/08/16 08:39:02 he Exp $ NetBSD doesn't have float_t. + --- src/df.c.orig 2014-01-26 08:09:14.856391886 +0000 +++ src/df.c @@ -28,6 +28,10 @@ @@ -8,7 +9,7 @@ NetBSD doesn't have float_t. #include "utils_ignorelist.h" +#if defined(__NetBSD__) -+typedef float float_t; ++#include <math.h> +#endif + #if HAVE_STATVFS |