summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-lib_runcmd.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-08-22 13:14:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-08-22 13:14:17 +0000
commit679e730233dbc33aa52fb219153b93af4cdab9dd (patch)
treeedb2c611dcf6e0a1ba120a4289f0e7029ff77ca5 /net-mgmt/nagios4/files/patch-lib_runcmd.c
parentwww/py-splinter: update to 0.7.4 (diff)
Update to 4.2.0.
MFH: 2016Q3 Security: CVE-2008-4796 Security: CVE-2013-4214 Changes: https://github.com/NagiosEnterprises/nagioscore/blob/nagios-4.2.0/Changelog Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-lib_runcmd.c')
-rw-r--r--net-mgmt/nagios4/files/patch-lib_runcmd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-lib_runcmd.c b/net-mgmt/nagios4/files/patch-lib_runcmd.c
new file mode 100644
index 000000000000..9ed448ec265a
--- /dev/null
+++ b/net-mgmt/nagios4/files/patch-lib_runcmd.c
@@ -0,0 +1,11 @@
+--- lib/runcmd.c.orig 2016-08-01 15:46:23 UTC
++++ lib/runcmd.c
+@@ -36,7 +36,7 @@
+ #endif
+
+ /* Determine whether we have setenv()/unsetenv() (see setenv(3) on Linux) */
+-#if _BSD_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
++#if defined(__DragonFly__) || __FreeBSD__ || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
+ # define HAVE_SETENV
+ #endif
+