summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/strace/files/strace-4.5.15-sh-SYS_ipc_subcall.patch')
-rw-r--r--dev-util/strace/files/strace-4.5.15-sh-SYS_ipc_subcall.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/strace/files/strace-4.5.15-sh-SYS_ipc_subcall.patch b/dev-util/strace/files/strace-4.5.15-sh-SYS_ipc_subcall.patch
new file mode 100644
index 000000000000..f6f84178f0c2
--- /dev/null
+++ b/dev-util/strace/files/strace-4.5.15-sh-SYS_ipc_subcall.patch
@@ -0,0 +1,15 @@
+remove duplicated SYS_ipc_subcall check ... further in the file, there
+is another #if check to make sure the value is 418
+
+--- linux/sh/syscallent.h
++++ linux/sh/syscallent.h
+@@ -435,9 +435,6 @@
+ { 5, 0, printargs, "SYS_398" }, /* 398 */
+ { 5, 0, printargs, "SYS_399" }, /* 399 */
+
+-#if SYS_ipc_subcall != 400
+- #error fix me
+-#endif
+ { 8, 0, printargs, "socket_subcall"}, /* 400 */
+ { 3, TN, sys_socket, "socket" }, /* 401 */
+ { 3, TN, sys_bind, "bind" }, /* 402 */