pkgsrc/sysutils/strace/patches/patch-al
christos d2290df0c1 - make this work again on NetBSD/i386
- make this compile on NetBSD/x86_64 [does not work yet]
- completely automate the NetBSD header generation. This should make porting
  to other platforms easier.
2007-04-27 19:45:01 +00:00

14 lines
313 B
Text

$NetBSD: patch-al,v 1.2 2007/04/27 19:45:01 christos Exp $
--- /dev/null 2007-04-26 23:20:40.000000000 -0400
+++ netbsd/mkerrno 2007-04-26 16:32:26.000000000 -0400
@@ -0,0 +1,9 @@
+#!/usr/bin/awk -f
+BEGIN {
+ printf("\t\"ERRNO0\",\n");
+}
+/^#define[ ]E/ {
+ if ($3 > 0) {
+ printf("\t\"%s\",\n", $2);
+ }
+}