strace 4.5.14: Fix strace for glibc 2.5. Closes #1475.
authorJamie Lenehan <lenehan@twibble.org>
Sat, 14 Oct 2006 05:01:53 +0000 (05:01 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Sat, 14 Oct 2006 05:01:53 +0000 (05:01 +0000)
packages/strace/strace-4.5.14/glibc-2.5.patch [new file with mode: 0644]
packages/strace/strace_4.5.14.bb

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 (file)
index 0000000..3ee6b3d
--- /dev/null
@@ -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;
index fcfa2b7..dc701d0 100644 (file)
@@ -5,6 +5,7 @@ PR = "r3"
 DESCRIPTION = "strace is a system call tracing tool."
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.bz2 \
+           file://glibc-2.5.patch;patch=1 \
           file://arm-eabi.patch;patch=1 \
           file://drop-ctl-proc.patch;patch=1 \
           file://sh-arch-update.patch;patch=1 \