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