summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-24 17:59:15 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-24 17:59:15 +0000
commit75e4ffffd3ff98a98644734891267ec3cfa4eedc (patch)
tree7a4d3d1363d9f277154b00b9c70d499626a554d8 /package
parentc5757aad7094665d53390210def7b139affefa2f (diff)
- fix brackets if socketcall or ipc are not available (Yann E. MORIN)
Diffstat (limited to 'package')
-rw-r--r--package/strace/strace-undef-syscall.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/strace/strace-undef-syscall.patch b/package/strace/strace-undef-syscall.patch
index b4291562f..cd9e6cd98 100644
--- a/package/strace/strace-undef-syscall.patch
+++ b/package/strace/strace-undef-syscall.patch
@@ -15,27 +15,29 @@
{ 4, 0, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
--- strace-4.5.15.orig/linux/syscallent.h 2007-02-04 19:03:48.000000000 +0100
+++ strace-4.5.15/linux/syscallent.h 2007-02-04 19:11:04.000000000 +0100
-@@ -130,7 +130,10 @@
+@@ -130,7 +130,11 @@
{ 2, TF, sys_statfs, "statfs" }, /* 99 */
{ 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */
{ 3, 0, sys_ioperm, "ioperm" }, /* 101 */
- { 2, TD, sys_socketcall, "socketcall", SYS_socketcall }, /* 102 */
-+ { 2, TD, sys_socketcall, "socketcall",
++ { 2, TD, sys_socketcall, "socketcall"
+#ifdef __NR_socketcall
-+ SYS_socketcall }, /* 102 */
++ , SYS_socketcall
+#endif
++ }, /* 102 */
{ 3, 0, sys_syslog, "syslog" }, /* 103 */
{ 3, 0, sys_setitimer, "setitimer" }, /* 104 */
{ 2, 0, sys_getitimer, "getitimer" }, /* 105 */
-@@ -145,7 +148,10 @@
+@@ -145,7 +149,11 @@
{ 4, TP, sys_wait4, "wait4", SYS_wait4 }, /* 114 */
{ 1, 0, sys_swapoff, "swapoff" }, /* 115 */
{ 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
- { 6, 0, sys_ipc, "ipc", SYS_ipc }, /* 117 */
-+ { 6, 0, sys_ipc, "ipc",
++ { 6, 0, sys_ipc, "ipc"
+#ifdef __NR_ipc
-+ SYS_ipc }, /* 117 */
++ , SYS_ipc
+#endif
++ }, /* 117 */
{ 1, TD, sys_fsync, "fsync" }, /* 118 */
{ 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */
{ 5, TP, sys_clone, "clone", SYS_clone }, /* 120 */