From: Jamie Lenehan Date: Sat, 14 Oct 2006 05:01:53 +0000 (+0000) Subject: strace 4.5.14: Fix strace for glibc 2.5. Closes #1475. X-Git-Tag: Release-2010-05/1~9453^2~567^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1922110446530cd59779acf81c402a17ddaad16;p=openembedded.git strace 4.5.14: Fix strace for glibc 2.5. Closes #1475. --- 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; diff --git a/packages/strace/strace_4.5.14.bb b/packages/strace/strace_4.5.14.bb index fcfa2b74d0..dc701d065f 100644 --- a/packages/strace/strace_4.5.14.bb +++ b/packages/strace/strace_4.5.14.bb @@ -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 \