summaryrefslogtreecommitdiff
path: root/package/strace
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-07 02:51:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-07 02:51:45 +0000
commit642457d6026cf314e925299cc0f028be8ca22147 (patch)
tree74f8748f128582dfdb758486dcd849e41e22bfa4 /package/strace
parentcbfaf565c113e16ef92d462ce7827491a08e1759 (diff)
Fix building of strace for MIPS.
Diffstat (limited to 'package/strace')
-rw-r--r--package/strace/strace-mips-sprintsigmask-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/strace/strace-mips-sprintsigmask-fix.patch b/package/strace/strace-mips-sprintsigmask-fix.patch
new file mode 100644
index 000000000..ad0ad1ffe
--- /dev/null
+++ b/package/strace/strace-mips-sprintsigmask-fix.patch
@@ -0,0 +1,12 @@
+diff -ur strace-4.5.15/signal.c strace-4.5.15-patched/signal.c
+--- strace-4.5.15/signal.c 2007-01-11 16:08:38.000000000 -0600
++++ strace-4.5.15-patched/signal.c 2007-02-06 20:49:34.714320249 -0600
+@@ -1440,7 +1440,7 @@
+ tcp->u_rval = tcp->u_error = 0;
+ if(tcp->u_arg[0] == 0)
+ return 0;
+- tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]);
++ tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0);
+ return RVAL_NONE | RVAL_STR;
+ }
+ return 0;