summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-system_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 21:31:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 21:31:33 +0100
commit706772da03b5dfc50ac754e0bac88ea7f69621aa (patch)
tree6cd7cede912238d504cb9d5d34a002e80eafbf90 /package/strace/patches/patch-system_c
parenta12b122c614b30eb00bf9eece0e9a8907504add1 (diff)
make strace work for arm
Diffstat (limited to 'package/strace/patches/patch-system_c')
-rw-r--r--package/strace/patches/patch-system_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/strace/patches/patch-system_c b/package/strace/patches/patch-system_c
new file mode 100644
index 000000000..85ad4a434
--- /dev/null
+++ b/package/strace/patches/patch-system_c
@@ -0,0 +1,11 @@
+--- strace-4.5.18.orig/system.c 2007-01-17 00:22:36.000000000 +0100
++++ strace-4.5.18/system.c 2009-11-22 21:29:57.404591477 +0100
+@@ -70,7 +70,7 @@
+ #include <linux/capability.h>
+ #endif
+
+-#ifdef SYS_cacheflush
++#if defined SYS_cacheflush && !defined ARM
+ #include <asm/cachectl.h>
+ #endif
+