From a7aa924e41f885dec6daa046bb80a2dca5434244 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 19 Oct 2017 10:52:47 +0000 Subject: [PATCH] gcompat: fix aarch64 build --- srcpkgs/gcompat/patches/aarch64.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/gcompat/patches/aarch64.patch diff --git a/srcpkgs/gcompat/patches/aarch64.patch b/srcpkgs/gcompat/patches/aarch64.patch new file mode 100644 index 00000000000..386d6bd3569 --- /dev/null +++ b/srcpkgs/gcompat/patches/aarch64.patch @@ -0,0 +1,17 @@ +--- libgcompat/sysctl.c.orig 2017-10-19 10:51:44.000000000 +0000 ++++ libgcompat/sysctl.c 2017-10-19 10:51:55.988937813 +0000 +@@ -4,6 +4,8 @@ + #include + + ++#ifdef SYS__sysctl // deprecated sysctl not available on aarch64 ++ + struct __sysctl_args { + int *name; + int nlen; +@@ -26,3 +28,5 @@ + + return syscall(SYS__sysctl, &args); + } ++ ++#endif