summaryrefslogtreecommitdiff
path: root/sysutils/coreutils/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/coreutils/patches/patch-af')
-rw-r--r--sysutils/coreutils/patches/patch-af15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/coreutils/patches/patch-af b/sysutils/coreutils/patches/patch-af
new file mode 100644
index 00000000000..d88cf713b9c
--- /dev/null
+++ b/sysutils/coreutils/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2005/03/21 14:44:08 tv Exp $
+
+--- src/system.h.orig Thu Feb 5 04:23:23 2004
++++ src/system.h
+@@ -92,6 +92,10 @@ you must include <sys/types.h> before in
+ #endif
+ #undef HAVE_MAJOR
+
++#if !defined(makedev) && defined(mkdev)
++# define makedev(a, b) (mkdev((a), (b)))
++#endif
++
+ #if HAVE_UTIME_H
+ # include <utime.h>
+ #endif