summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-03-19 13:50:30 +0000
committerjperkin <jperkin@pkgsrc.org>2015-03-19 13:50:30 +0000
commit814c0bccd1eb70651eea1ee33ed0da13c42fd36c (patch)
tree4881cf1362923a8dc292b2ccd7809a981fceac72 /sysutils
parentd56c3dd09caedcceb861f6cfb6b93c68e085a1fb (diff)
downloadpkgsrc-814c0bccd1eb70651eea1ee33ed0da13c42fd36c.tar.gz
Don't go past _XOPEN_SOURCE=600 on SunOS.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/collectd/distinfo3
-rw-r--r--sysutils/collectd/patches/patch-src_collectd-tg.c19
2 files changed, 21 insertions, 1 deletions
diff --git a/sysutils/collectd/distinfo b/sysutils/collectd/distinfo
index 08d009342b0..d8d0e10a7d3 100644
--- a/sysutils/collectd/distinfo
+++ b/sysutils/collectd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2014/06/29 18:01:06 dholland Exp $
+$NetBSD: distinfo,v 1.5 2015/03/19 13:50:30 jperkin Exp $
SHA1 (collectd-5.4.1.tar.gz) = faaccac4daf48449bcefc9d6f9236f98a5dd5b4b
RMD160 (collectd-5.4.1.tar.gz) = a98ff2d845238d4792f732aa7518effdc95e24f9
@@ -6,6 +6,7 @@ Size (collectd-5.4.1.tar.gz) = 1894132 bytes
SHA1 (patch-Makefile.in) = 197307399312fa26c71ca168b92bbe41d31d556d
SHA1 (patch-configure) = 34bb022fbe3b3b072a6ea5d86de0711a37ebfa0f
SHA1 (patch-src_Makefile.in) = 3d227fa1c483944f44b11e49cabb6390ab3b8338
+SHA1 (patch-src_collectd-tg.c) = f9f41dfb0b1b55a62202128a165d5c9943faf5bc
SHA1 (patch-src_collectd.c) = 31106ca27dd4911c40285fece48f76a1c36e2407
SHA1 (patch-src_collectd.conf.in) = 97400dbc16a31a440750beed0bc16927afdcb570
SHA1 (patch-src_df.c) = 19cca888b183a90759b359702e4d65c8afa6e58d
diff --git a/sysutils/collectd/patches/patch-src_collectd-tg.c b/sysutils/collectd/patches/patch-src_collectd-tg.c
new file mode 100644
index 00000000000..6fa00abaa00
--- /dev/null
+++ b/sysutils/collectd/patches/patch-src_collectd-tg.c
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_collectd-tg.c,v 1.1 2015/03/19 13:50:30 jperkin Exp $
+
+Don't go past _XOPEN_SOURCE=600 on SunOS.
+
+--- src/collectd-tg.c.orig 2014-01-26 08:09:14.836391498 +0000
++++ src/collectd-tg.c
+@@ -32,8 +32,12 @@
+ #endif
+
+ #ifndef _XOPEN_SOURCE
++#ifdef __sun
++# define _XOPEN_SOURCE 600
++#else
+ # define _XOPEN_SOURCE 700
+ #endif
++#endif
+
+ #if !__GNUC__
+ # define __attribute__(x) /**/