diff options
author | he <he@pkgsrc.org> | 2015-08-18 07:52:20 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2015-08-18 07:52:20 +0000 |
commit | c276fd79a12342eb418a2b9cf69b8144aa57d257 (patch) | |
tree | 141db85bf959ae31c18d8dfa91a7f94c21da503c /sysutils | |
parent | 986af7f9e761b515f06cb1c389d1d801f2c1619f (diff) | |
download | pkgsrc-c276fd79a12342eb418a2b9cf69b8144aa57d257.tar.gz |
Fix typo preventing build on NetBSD > 6.99.19.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/collectd/distinfo | 4 | ||||
-rw-r--r-- | sysutils/collectd/patches/patch-src_df.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/collectd/distinfo b/sysutils/collectd/distinfo index a823a2f88cd..400f3ce2d5a 100644 --- a/sysutils/collectd/distinfo +++ b/sysutils/collectd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2015/08/18 07:47:46 he Exp $ +$NetBSD: distinfo,v 1.16 2015/08/18 07:52:20 he Exp $ SHA1 (collectd-5.5.0.tar.gz) = d24e284c1eae20c5e75b846c8b2612ab65bd5565 RMD160 (collectd-5.5.0.tar.gz) = 2197758942a5fe56e4eabda3786f09d4138e943a @@ -12,7 +12,7 @@ SHA1 (patch-src_Makefile.in) = bbce87cf8daf2a7d75f81c8019d936cada1191bd 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) = 3102d42c0e80525df00d4f6c794f17a75d828942 +SHA1 (patch-src_df.c) = 7e75dfbc72ecad48eb0eb7427a19329daf6b9a60 SHA1 (patch-src_disk.c) = 159862e8ca1e841e3c4013c03ba03f059fdbbab5 SHA1 (patch-src_entropy.c) = 7a522a6849d39bf4ed4704204a084790d27950ef SHA1 (patch-src_irq.c) = 6b621474de35a5879105025d1a2848e4896b8479 diff --git a/sysutils/collectd/patches/patch-src_df.c b/sysutils/collectd/patches/patch-src_df.c index 781ed4225ac..7c0c65c5c6d 100644 --- a/sysutils/collectd/patches/patch-src_df.c +++ b/sysutils/collectd/patches/patch-src_df.c @@ -1,4 +1,4 @@ -$NetBSD: patch-src_df.c,v 1.3 2015/08/18 07:47:46 he Exp $ +$NetBSD: patch-src_df.c,v 1.4 2015/08/18 07:52:20 he Exp $ Older NetBSD doesn't have float_t. @@ -11,7 +11,7 @@ Older NetBSD doesn't have float_t. +#if defined(__NetBSD__) +#include <sys/param.h> +#include <math.h> -+#if __NetBSD_VERSION__ < 699001900 ++#if __NetBSD_Version__ < 699001900 +typedef float float_t; +#endif +#endif |