diff options
-rw-r--r-- | package/strace/patches/patch-linux_arm_syscallent_h | 15 | ||||
-rw-r--r-- | package/strace/patches/patch-system_c | 11 |
2 files changed, 26 insertions, 0 deletions
diff --git a/package/strace/patches/patch-linux_arm_syscallent_h b/package/strace/patches/patch-linux_arm_syscallent_h new file mode 100644 index 000000000..387490267 --- /dev/null +++ b/package/strace/patches/patch-linux_arm_syscallent_h @@ -0,0 +1,15 @@ +--- strace-4.5.18.orig/linux/arm/syscallent.h 2008-07-18 03:23:49.000000000 +0200 ++++ strace-4.5.18/linux/arm/syscallent.h 2009-11-22 21:27:48.660576873 +0100 +@@ -431,6 +431,7 @@ + { 5, 0, printargs, "SYS_398" }, /* 398 */ + { 5, 0, printargs, "SYS_399" }, /* 399 */ + ++#ifndef __ARM_EABI__ + #if SYS_socket_subcall != 400 + #error fix me + #endif +@@ -481,3 +482,4 @@ + { 4, TI, sys_shmdt, "shmdt" }, /* 440 */ + { 4, TI, sys_shmget, "shmget" }, /* 441 */ + { 4, TI, sys_shmctl, "shmctl" }, /* 442 */ ++#endif 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 + |