diff options
-rw-r--r-- | packages/strace/strace-4.5.14/glibc-2.5.patch | 11 | ||||
-rw-r--r-- | packages/strace/strace_4.5.14.bb | 1 |
2 files changed, 12 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; 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 \ |