diff options
Diffstat (limited to 'sysutils/strace/patches/patch-am')
-rw-r--r-- | sysutils/strace/patches/patch-am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/strace/patches/patch-am b/sysutils/strace/patches/patch-am new file mode 100644 index 00000000000..1138ad22a8e --- /dev/null +++ b/sysutils/strace/patches/patch-am @@ -0,0 +1,31 @@ +$NetBSD: patch-am,v 1.1 2006/03/05 08:17:49 christos Exp $ + +--- stream.c 2005-06-01 15:22:07.000000000 -0400 ++++ stream.c 2006-03-05 00:54:26.000000000 -0500 +@@ -50,7 +50,7 @@ + #include <sys/tihdr.h> + #endif + +-#if defined(HAVE_SYS_STREAM_H) || defined(LINUX) || defined(FREEBSD) ++#if defined(HAVE_SYS_STREAM_H) || defined(LINUX) || defined(FREEBSD) || defined(NETBSD) + + #ifndef HAVE_STROPTS_H + #define RS_HIPRI 1 +@@ -370,7 +370,7 @@ + } + #endif + +-#if !defined(LINUX) && !defined(FREEBSD) ++#if !defined(LINUX) && !defined(ALLBSD) + + static const struct xlat stream_flush_options[] = { + { FLUSHR, "FLUSHR" }, +@@ -1298,6 +1298,6 @@ + } + } + +-#endif /* !LINUX && !FREEBSD */ ++#endif /* !LINUX && !ALLBSD */ + +-#endif /* HAVE_SYS_STREAM_H || LINUX || FREEBSD */ ++#endif /* HAVE_SYS_STREAM_H || LINUX || FREEBSD || NETBSD */ |