summaryrefslogtreecommitdiff
path: root/devel/mkcmd/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mkcmd/patches/patch-am')
-rw-r--r--devel/mkcmd/patches/patch-am15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/mkcmd/patches/patch-am b/devel/mkcmd/patches/patch-am
new file mode 100644
index 00000000000..c94d6e9a7da
--- /dev/null
+++ b/devel/mkcmd/patches/patch-am
@@ -0,0 +1,15 @@
+$NetBSD: patch-am,v 1.1 2006/01/15 17:50:53 joerg Exp $
+
+--- bin/mkcmd/machine.h.orig 2006-01-15 17:49:23.000000000 +0000
++++ bin/mkcmd/machine.h
+@@ -122,10 +122,6 @@ extern char *sys_errlist[];
+ #define const /* broken -- removed */
+ #endif
+
+-#if HAVE_SIMPLE_ERRNO
+-extern int errno;
+-#endif
+-
+ #if NEED_OFFSET_TYPE
+ typedef long off_t;
+ #endif