git: 6731815a3a68 - main - sysutils/facter: prepare for upcoming Boost 1.81 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 29 Dec 2022 09:42:24 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6731815a3a68f332eed38a3910e59c82bfa7a851

commit 6731815a3a68f332eed38a3910e59c82bfa7a851
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-12-29 09:39:52 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-12-29 09:39:52 +0000

    sysutils/facter: prepare for  upcoming Boost 1.81 (+)
    
    This also fixes build with modern compilers (gcc12+, clang15+)
    
    With hat:       office
---
 .../files/patch-lib_src_facts_glib_load__average__resolver.cc  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sysutils/facter/files/patch-lib_src_facts_glib_load__average__resolver.cc b/sysutils/facter/files/patch-lib_src_facts_glib_load__average__resolver.cc
new file mode 100644
index 000000000000..3f9379f1de01
--- /dev/null
+++ b/sysutils/facter/files/patch-lib_src_facts_glib_load__average__resolver.cc
@@ -0,0 +1,10 @@
+https://bugs.gentoo.org/840116
+--- lib/src/facts/glib/load_average_resolver.cc
++++ lib/src/facts/glib/load_average_resolver.cc
+@@ -1,5 +1,6 @@
+ #include <internal/facts/glib/load_average_resolver.hpp>
+ #include <leatherman/logging/logging.hpp>
++#include <array>
+ #include <cstdlib>
+ 
+ #ifdef __sun