Skip to content

Commit

Permalink
net-mgmt/collectd5: Chase 3141891, update sysutils/nut to 2.8.0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cschuber committed May 9, 2022
1 parent 5496785 commit 9194326
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions net-mgmt/collectd5/files/patch-configure.ac
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 9194326

Please sign in to comment.