summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/strace/files/strace-4.5.18-arm-cache.patch')
-rw-r--r--dev-util/strace/files/strace-4.5.18-arm-cache.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/strace/files/strace-4.5.18-arm-cache.patch b/dev-util/strace/files/strace-4.5.18-arm-cache.patch
new file mode 100644
index 0000000..9aed43c
--- /dev/null
+++ b/dev-util/strace/files/strace-4.5.18-arm-cache.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/266014
+
+ARM defines SYS_cacheflush but does not have asm/cachectl.h
+
+--- a/system.c
++++ b/system.c
+@@ -70,7 +70,7 @@
+ #include <linux/capability.h>
+ #endif
+
+-#ifdef SYS_cacheflush
++#if defined(SYS_cacheflush) && !defined(ARM)
+ #include <asm/cachectl.h>
+ #endif
+