summaryrefslogtreecommitdiff
path: root/sysutils/strace/patches/patch-be
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/strace/patches/patch-be')
-rw-r--r--sysutils/strace/patches/patch-be40
1 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/strace/patches/patch-be b/sysutils/strace/patches/patch-be
new file mode 100644
index 00000000000..0fb3bf42b54
--- /dev/null
+++ b/sysutils/strace/patches/patch-be
@@ -0,0 +1,40 @@
+$NetBSD: patch-be,v 1.1 2007/12/05 16:31:02 christos Exp $
+
+--- mem.c.orig 2007-12-05 11:20:07.000000000 -0500
++++ mem.c 2007-12-05 11:20:17.000000000 -0500
+@@ -70,7 +70,7 @@
+ #endif
+ }
+
+-#if defined(FREEBSD) || defined(SUNOS4)
++#if defined(ALLBSD) || defined(SUNOS4)
+ int
+ sys_sbrk(tcp)
+ struct tcb *tcp;
+@@ -80,7 +80,7 @@
+ }
+ return RVAL_HEX;
+ }
+-#endif /* FREEBSD || SUNOS4 */
++#endif /* ALLBSD || SUNOS4 */
+
+ static const struct xlat mmap_prot[] = {
+ { PROT_NONE, "PROT_NONE", },
+@@ -541,7 +541,7 @@
+ return 0;
+ }
+
+-#if defined(ALPHA) || defined(FREEBSD) || defined(IA64) || defined(SUNOS4) || defined(SVR4)
++#if defined(ALPHA) || defined(ALLBSD) || defined(IA64) || defined(SUNOS4) || defined(SVR4)
+ int
+ sys_getpagesize(tcp)
+ struct tcb *tcp;
+@@ -550,7 +550,7 @@
+ return RVAL_HEX;
+ return 0;
+ }
+-#endif /* ALPHA || FREEBSD || IA64 || SUNOS4 || SVR4 */
++#endif /* ALPHA || ALLBSD || IA64 || SUNOS4 || SVR4 */
+
+ #if defined(LINUX) && defined(__i386__)
+ void