summaryrefslogtreecommitdiff
path: root/packages/strace/strace-4.5.14/glibc-2.5.patch
diff options
context:
space:
mode:
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;