summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-02 20:35:02 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-02 20:35:02 +0000
commit482bcdec6d423e8db76f16b15382b37f7b96eb4b (patch)
tree64c44e26da58de40b567ff9239b6cb29af0a0a94 /dev-util/strace
parentold (diff)
downloadgentoo-2-482bcdec6d423e8db76f16b15382b37f7b96eb4b.tar.gz
gentoo-2-482bcdec6d423e8db76f16b15382b37f7b96eb4b.tar.bz2
gentoo-2-482bcdec6d423e8db76f16b15382b37f7b96eb4b.zip
tweak to be like upstreams fix
Diffstat (limited to 'dev-util/strace')
-rw-r--r--dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch b/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch
index 194b9d1ff540..3e2ba7e3b182 100644
--- a/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch
+++ b/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch
@@ -5,14 +5,14 @@ linux architectures so we can no longer assume PT_GETSIGINFO == ia64.
http://bugs.gentoo.org/149945
---- strace.c
-+++ strace.c
-@@ -2251,7 +2251,7 @@
+--- strace.c 11 Oct 2006 22:55:25 -0000 1.71
++++ strace.c 11 Oct 2006 23:11:44 -0000 1.72
+@@ -2261,7 +2261,7 @@ Process %d attached (waiting for parent)
if (!cflag
&& (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) {
unsigned long addr = 0, pc = 0;
-#ifdef PT_GETSIGINFO
-+#ifdef PT_CR_IPSR
++#if defined(PT_CR_IPSR) && defined(PT_CR_IIP) && defined(PT_GETSIGINFO)
# define PSR_RI 41
struct siginfo si;
unsigned long psr;