diff options
Diffstat (limited to 'sysutils/strace/patches/patch-au')
-rw-r--r-- | sysutils/strace/patches/patch-au | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sysutils/strace/patches/patch-au b/sysutils/strace/patches/patch-au index e632e70e50f..6761fc98b33 100644 --- a/sysutils/strace/patches/patch-au +++ b/sysutils/strace/patches/patch-au @@ -1,7 +1,7 @@ -$NetBSD: patch-au,v 1.3 2007/12/05 16:31:01 christos Exp $ +$NetBSD: patch-au,v 1.4 2009/12/29 22:03:41 spz Exp $ ---- syscall.c.orig 2006-12-21 17:13:33.000000000 -0500 -+++ syscall.c 2007-12-05 11:16:26.000000000 -0500 +--- syscall.c.orig 2006-12-21 23:13:33.000000000 +0100 ++++ syscall.c 2009-12-29 21:45:24.000000000 +0100 @@ -38,9 +38,9 @@ #include <signal.h> #include <time.h> @@ -19,7 +19,7 @@ $NetBSD: patch-au,v 1.3 2007/12/05 16:31:01 christos Exp $ +#ifdef NETBSD +#include <machine/reg.h> -+#include <x86/psl.h> ++#include <machine/psl.h> +#endif #ifdef HAVE_SYS_REG_H #include <sys/reg.h> @@ -40,6 +40,15 @@ $NetBSD: patch-au,v 1.3 2007/12/05 16:31:01 christos Exp $ #endif struct tcb *tcp_last = NULL; +@@ -747,7 +753,7 @@ + #endif + + if ( sys_execve == func +-#if defined(SPARC) || defined(SPARC64) || defined(SUNOS4) ++#if !defined(NETBSD) && (defined(SPARC) || defined(SPARC64) || defined(SUNOS4)) + || sys_execv == func + #endif + #if UNIXWARE > 2 @@ -756,9 +762,12 @@ ) return internal_exec(tcp); |