summaryrefslogtreecommitdiffstats
path: root/package/strace
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-12-22 22:10:38 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-12-22 22:10:38 +0000
commit5c4674da5697406c0a1222a03107258bbcdc432d (patch)
treea3149837b0d5ec675949090074f05e5e981e3bf0 /package/strace
parent43efac37ab9fd12a584d1969329de9794209c9a8 (diff)
downloadbuildroot-novena-5c4674da5697406c0a1222a03107258bbcdc432d.tar.gz
buildroot-novena-5c4674da5697406c0a1222a03107258bbcdc432d.zip
strace: fix build on ARM (no <asm/cachectl.h>)
Diffstat (limited to 'package/strace')
-rw-r--r--package/strace/strace-arm-no-cachectl.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/strace/strace-arm-no-cachectl.patch b/package/strace/strace-arm-no-cachectl.patch
new file mode 100644
index 000000000..6a2c04d70
--- /dev/null
+++ b/package/strace/strace-arm-no-cachectl.patch
@@ -0,0 +1,21 @@
+ARM defines SYS_cacheflush, but doesn't have <asm/cachectl.h>
+---
+ system.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+Index: strace-4.5.18/system.c
+===================================================================
+--- strace-4.5.18.orig/system.c
++++ strace-4.5.18/system.c
+@@ -70,9 +70,11 @@
+ #include <linux/capability.h>
+ #endif
+
++#ifndef ARM
+ #ifdef SYS_cacheflush
+ #include <asm/cachectl.h>
+ #endif
++#endif
+
+ #ifdef HAVE_LINUX_USTNAME_H
+ #include <linux/utsname.h>