aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-05-07 02:22:31 +0000
committerCy Schubert <cy@FreeBSD.org>2022-05-09 17:49:53 +0000
commit91943263b3fab0662169ae5b4a73488022ec6ee1 (patch)
treedf141cd9a986cdea3a7bb93d2df8ef06c897c2c7
parent54967858896056c7661b170ea262b32b6dd809ba (diff)
downloadports-91943263b3fab0662169ae5b4a73488022ec6ee1.tar.gz
ports-91943263b3fab0662169ae5b4a73488022ec6ee1.zip
net-mgmt/collectd5: Chase 31418910e0f4, update sysutils/nut to 2.8.0
Nut upsclient.h no longer includes time.h. Apps which build against upsclient.h must now include time.h or fail to detect nut libraries due to missing time_t. PR: 263791 Reported by: Petteri Valkonen <petteri.valkonen@iki.fi>
-rw-r--r--net-mgmt/collectd5/files/patch-configure.ac14
1 files changed, 11 insertions, 3 deletions
diff --git a/net-mgmt/collectd5/files/patch-configure.ac b/net-mgmt/collectd5/files/patch-configure.ac
index 870fc672c5ee..1d8e1e6c772e 100644
--- a/net-mgmt/collectd5/files/patch-configure.ac
+++ b/net-mgmt/collectd5/files/patch-configure.ac
@@ -1,6 +1,14 @@
---- configure.ac.orig 2020-03-19 09:52:56.280271200 +0100
-+++ configure.ac 2020-03-27 19:05:05.205060000 +0100
-@@ -6475,7 +6475,7 @@ AC_ARG_WITH([libslurm],
+--- configure.ac.orig 2020-09-03 04:09:35.126575027 -0700
++++ configure.ac 2022-05-06 19:19:22.707837000 -0700
+@@ -5810,6 +5810,7 @@
+ [],
+ [],
+ [[
++ #include <time.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <upsclient.h>
+@@ -6507,7 +6508,7 @@
else if test -d "$with_libslurm/lib"; then
AC_MSG_NOTICE([Not checking for libslurm: Manually configured])
with_libslurm_cflags="-I$withval/include"