mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
facter: patch for gcc-12
This commit is contained in:
parent
ebeca5daf2
commit
a364679750
1 changed files with 12 additions and 0 deletions
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>
|
Loading…
Add table
Reference in a new issue