From 3b070f30fefa0f7056288a4e38c4bffd0e37ca00 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Mon, 1 Oct 2018 18:15:58 -0700 Subject: [PATCH] incron: fix aarch64 build --- srcpkgs/incron/aarch64.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/incron/aarch64.patch diff --git a/srcpkgs/incron/aarch64.patch b/srcpkgs/incron/aarch64.patch new file mode 100644 index 00000000000..ceb0a1d9c10 --- /dev/null +++ b/srcpkgs/incron/aarch64.patch @@ -0,0 +1,11 @@ +# taken from https://github.com/alpinelinux/aports/blob/master/community/incron/incron-aarch64.patch +--- inotify-cxx.h ++++ inotify-cxx.h +@@ -37,7 +37,7 @@ + #include + + // Use this if syscalls not defined +-#ifndef __NR_inotify_init ++#if not defined(__NR_inotify_init) && not defined(__aarch64__) + #include +#endif // __NR_inotify_init