From: Peter Korsgaard Date: Mon, 22 Dec 2008 22:10:38 +0000 (-0000) Subject: strace: fix build on ARM (no ) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c4674da5697406c0a1222a03107258bbcdc432d;p=buildroot.git strace: fix build on ARM (no ) --- diff --git a/package/strace/strace-arm-no-cachectl.patch b/package/strace/strace-arm-no-cachectl.patch new file mode 100644 index 0000000000..6a2c04d70c --- /dev/null +++ b/package/strace/strace-arm-no-cachectl.patch @@ -0,0 +1,21 @@ +ARM defines SYS_cacheflush, but doesn't have +--- + 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 + #endif + ++#ifndef ARM + #ifdef SYS_cacheflush + #include + #endif ++#endif + + #ifdef HAVE_LINUX_USTNAME_H + #include