summaryrefslogtreecommitdiff
path: root/packages/strace/strace-4.5.14/glibc-2.5.patch
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-10-14 05:01:53 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-10-14 05:01:53 +0000
commitd1922110446530cd59779acf81c402a17ddaad16 (patch)
treeeb0bd561269719719f511b16b42efce7467a2983 /packages/strace/strace-4.5.14/glibc-2.5.patch
parente947199ca4c3e78765b4862ccac3ab3ae0b51857 (diff)
strace 4.5.14: Fix strace for glibc 2.5. Closes #1475.
Diffstat (limited to 'packages/strace/strace-4.5.14/glibc-2.5.patch')
-rw-r--r--packages/strace/strace-4.5.14/glibc-2.5.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/strace/strace-4.5.14/glibc-2.5.patch b/packages/strace/strace-4.5.14/glibc-2.5.patch
new file mode 100644
index 0000000000..3ee6b3de75
--- /dev/null
+++ b/packages/strace/strace-4.5.14/glibc-2.5.patch
@@ -0,0 +1,11 @@
+--- strace-4.5.14/strace.c~ 2006-10-14 14:54:54.000000000 +1000
++++ strace-4.5.14/strace.c 2006-10-14 14:54:54.000000000 +1000
+@@ -2251,7 +2251,7 @@
+ if (!cflag
+ && (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) {
+ unsigned long addr = 0, pc = 0;
+-#ifdef PT_GETSIGINFO
++#if defined(PT_GETSIGINFO) && defined(IA64)
+ # define PSR_RI 41
+ struct siginfo si;
+ unsigned long psr;