From 5c4674da5697406c0a1222a03107258bbcdc432d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 22 Dec 2008 22:10:38 +0000 Subject: [PATCH] strace: fix build on ARM (no ) --- package/strace/strace-arm-no-cachectl.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/strace/strace-arm-no-cachectl.patch 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 -- 2.30.2