osquery: also apply `Use-locale.h-instead-of-removed-xlocale.h-header.patch` on aarch64

The patch file fixes a build issue due to a missing `xlocale.h` header,
but *only* for x86. aarch64 actually has the same issue, so expanding
it hopefully also fixes that build, too.

+17 -14
+17 -14
pkgs/tools/system/osquery/Use-locale.h-instead-of-removed-xlocale.h-header.patch
··· 1 - From: Jack Baldry <jack.baldry@grafana.com> 2 - Date: Tue, 15 Nov 2022 14:34:33 -0400 3 - Subject: [PATCH] Use locale.h instead of removed xlocale.h header 4 - 5 - https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27 6 - 7 - Signed-off-by: Jack Baldry <jack.baldry@grafana.com> 8 - --- 9 - libraries/cmake/source/augeas/gnulib/generated/linux/x86_64/lib/locale.h | 4 ++-- 10 - 1 file changed, 2 insertions(+), 2 deletions(-) 11 - 1 + diff --git a/libraries/cmake/source/augeas/gnulib/generated/linux/aarch64/lib/locale.h b/libraries/cmake/source/augeas/gnulib/generated/linux/aarch64/lib/locale.h 2 + index 4f9baece2..afe947956 100644 3 + --- a/libraries/cmake/source/augeas/gnulib/generated/linux/aarch64/lib/locale.h 4 + +++ b/libraries/cmake/source/augeas/gnulib/generated/linux/aarch64/lib/locale.h 5 + @@ -48,9 +48,9 @@ 6 + /* NetBSD 5.0 mis-defines NULL. */ 7 + #include <stddef.h> 8 + 9 + -/* Mac OS X 10.5 defines the locale_t type in <xlocale.h>. */ 10 + +/* Mac OS X 10.5 defines the locale_t type in <locale.h>. */ 11 + #if 1 12 + -# include <xlocale.h> 13 + +# include <locale.h> 14 + #endif 15 + 16 + /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ 12 17 diff --git a/libraries/cmake/source/augeas/gnulib/generated/linux/x86_64/lib/locale.h b/libraries/cmake/source/augeas/gnulib/generated/linux/x86_64/lib/locale.h 18 + index 4f9baece2..afe947956 100644 13 19 --- a/libraries/cmake/source/augeas/gnulib/generated/linux/x86_64/lib/locale.h 14 20 +++ b/libraries/cmake/source/augeas/gnulib/generated/linux/x86_64/lib/locale.h 15 21 @@ -48,9 +48,9 @@ ··· 24 30 #endif 25 31 26 32 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ 27 - -- 28 - 2.38.1 29 -