diff options
Diffstat (limited to 'sysutils/strace/patches/patch-ag')
-rw-r--r-- | sysutils/strace/patches/patch-ag | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/strace/patches/patch-ag b/sysutils/strace/patches/patch-ag index a85e2236c3e..b389dad5829 100644 --- a/sysutils/strace/patches/patch-ag +++ b/sysutils/strace/patches/patch-ag @@ -1,11 +1,12 @@ -$NetBSD: patch-ag,v 1.2 2007/04/27 19:45:01 christos Exp $ +$NetBSD: patch-ag,v 1.3 2007/12/06 16:59:37 christos Exp $ ---- defs.h.orig 2006-01-12 05:18:53.000000000 -0500 -+++ defs.h 2007-04-27 11:31:50.000000000 -0400 -@@ -267,6 +267,37 @@ +--- defs.h.orig 2007-01-15 15:25:52.000000000 -0500 ++++ defs.h 2007-12-06 11:54:37.000000000 -0500 +@@ -267,6 +267,39 @@ #define PR_FAULTED S_CORE #endif ++#ifndef LINUX +#if !defined(PTRACE_ATTACH) && defined(PT_ATTACH) +#define PTRACE_ATTACH PT_ATTACH +#endif @@ -36,11 +37,12 @@ $NetBSD: patch-ag,v 1.2 2007/04/27 19:45:01 christos Exp $ +#if !defined(PTRACE_SETREGS) && defined(PT_SETREGS) +#define PTRACE_SETREGS PT_SETREGS +#endif ++#endif + /* Trace Control Block */ struct tcb { short flags; /* See below for TCB_ values */ -@@ -309,6 +340,8 @@ +@@ -309,6 +342,8 @@ #endif #ifdef FREEBSD struct procfs_status status; |