Apply the same fix from gtar-base for Interix (makedev -> mkdev).

This commit is contained in:
tv 2005-10-31 20:44:57 +00:00
parent 3793ad2122
commit c6bf4d6a87
2 changed files with 16 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.5 2005/02/23 22:24:20 agc Exp $
$NetBSD: distinfo,v 1.6 2005/10/31 20:44:57 tv Exp $
SHA1 (libtar-1.2.11.tar.gz) = 9611f23024b0e89aad1cfea301122186b3c160f8
RMD160 (libtar-1.2.11.tar.gz) = 205d1213ed32f9708fb2135010afdd9e184c430e
Size (libtar-1.2.11.tar.gz) = 145354 bytes
SHA1 (patch-aa) = c07f32034bb5e84b0b90ac5ab322e800036d5fde

View file

@ -0,0 +1,14 @@
$NetBSD: patch-aa,v 1.1 2005/10/31 20:44:57 tv Exp $
--- compat/compat.h.orig 2003-01-08 16:44:50.000000000 -0500
+++ compat/compat.h
@@ -177,6 +177,9 @@ int inet_aton(const char *, struct in_ad
# ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
+# if !defined(makedev) && defined(mkdev)
+# define makedev(a,b) mkdev((a),(b))
+# endif
# else
# ifdef MAJOR_IN_SYSMACROS
# include <sys/sysmacros.h>