facter: patch for gcc-12
This commit is contained in:
12
srcpkgs/facter/patches/std-array.patch
Normal file
12
srcpkgs/facter/patches/std-array.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Index: facter-3.14.16/lib/src/facts/glib/load_average_resolver.cc
|
||||||
|
===================================================================
|
||||||
|
--- facter-3.14.16.orig/lib/src/facts/glib/load_average_resolver.cc
|
||||||
|
+++ facter-3.14.16/lib/src/facts/glib/load_average_resolver.cc
|
||||||
|
@@ -1,6 +1,7 @@
|
||||||
|
#include <internal/facts/glib/load_average_resolver.hpp>
|
||||||
|
#include <leatherman/logging/logging.hpp>
|
||||||
|
#include <cstdlib>
|
||||||
|
+#include <array>
|
||||||
|
|
||||||
|
#ifdef __sun
|
||||||
|
#include <sys/loadavg.h>
|
||||||
Reference in New Issue
Block a user