# HG changeset patch # User Rob Landley # Date 1249769495 18000 # Node ID bb8333b7a55331278ee15ec8ed16bbee96a638d2 # Parent 5f793a1ca658e62fa2f0bfa0f23f1dd882a1b1bf In case anybody wants to build strace for arm eabi, you need these patches. diff -r 5f793a1ca658 -r bb8333b7a553 sources/patches/strace-arm-eabi.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/strace-arm-eabi.patch Sat Aug 08 17:11:35 2009 -0500 @@ -0,0 +1,20 @@ +--- a/linux/arm/syscallent.h ++++ b/linux/arm/syscallent.h +@@ -431,7 +431,7 @@ + { 5, 0, printargs, "SYS_398" }, /* 398 */ + { 5, 0, printargs, "SYS_399" }, /* 399 */ + +-#if SYS_socket_subcall != 400 ++#if defined(SYS_socket_subcall) && (SYS_socket_subcall != 400) + #error fix me + #endif + { 8, 0, printargs, "socket_subcall"}, /* 400 */ +@@ -453,7 +453,7 @@ + { 5, TN, sys_sendmsg, "sendmsg" }, /* 416 */ + { 5, TN, sys_recvmsg, "recvmsg" }, /* 417 */ + +-#if SYS_ipc_subcall != 418 ++#if defined(SYS_ipc_subcall) && (SYS_ipc_subcall != 418) + #error fix me + #endif + { 4, 0, printargs, "ipc_subcall" }, /* 418 */ diff -r 5f793a1ca658 -r bb8333b7a553 sources/patches/strace-arm-no-cachectl.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/strace-arm-no-cachectl.patch Sat Aug 08 17:11:35 2009 -0500 @@ -0,0 +1,19 @@ +ARM defines SYS_cacheflush, but doesn't have +--- + system.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/system.c ++++ b/system.c +@@ -70,9 +70,11 @@ + #include + #endif + ++#ifndef ARM + #ifdef SYS_cacheflush + #include + #endif ++#endif + + #ifdef HAVE_LINUX_USTNAME_H + #include