diff options
author | tv <tv@pkgsrc.org> | 2005-10-31 20:44:57 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-10-31 20:44:57 +0000 |
commit | c6bf4d6a870c2f41031fba4dfc3d321f3bef41ba (patch) | |
tree | 82e59adc6853457a8595471e68388f198387d587 /devel/libtar/patches | |
parent | 3793ad2122a46ecf3b403504fdbc9d796655545d (diff) | |
download | pkgsrc-c6bf4d6a870c2f41031fba4dfc3d321f3bef41ba.tar.gz |
Apply the same fix from gtar-base for Interix (makedev -> mkdev).
Diffstat (limited to 'devel/libtar/patches')
-rw-r--r-- | devel/libtar/patches/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/libtar/patches/patch-aa b/devel/libtar/patches/patch-aa new file mode 100644 index 00000000000..683852dfbaf --- /dev/null +++ b/devel/libtar/patches/patch-aa @@ -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> |