summaryrefslogtreecommitdiff
path: root/sysutils/strace/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/strace/patches/patch-am')
-rw-r--r--sysutils/strace/patches/patch-am40
1 files changed, 10 insertions, 30 deletions
diff --git a/sysutils/strace/patches/patch-am b/sysutils/strace/patches/patch-am
index 1138ad22a8e..85b6e5ce104 100644
--- a/sysutils/strace/patches/patch-am
+++ b/sysutils/strace/patches/patch-am
@@ -1,31 +1,11 @@
-$NetBSD: patch-am,v 1.1 2006/03/05 08:17:49 christos Exp $
+$NetBSD: patch-am,v 1.2 2007/04/27 19:45:01 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 */
+--- /dev/null 2007-04-26 23:20:40.000000000 -0400
++++ netbsd/mksignal 2007-04-26 20:55:33.000000000 -0400
+@@ -0,0 +1,6 @@
++#!/usr/bin/awk -f
++/^#define[ ]SIG/ {
++ if ($3 > 0) {
++ printf("\t\"%s\",\n", $2);
++ }
++}