diff options
author | tv <tv@pkgsrc.org> | 2004-04-24 23:07:53 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-04-24 23:07:53 +0000 |
commit | a2cec08ff782dedcd7cc615d558ff5d7fbe42383 (patch) | |
tree | 4fe8c2d5be384263588be8cd85b330f0fe90cbaf /archivers | |
parent | 902478ce683e9abd4db8e14eb86a1d3b6becea8b (diff) | |
download | pkgsrc-a2cec08ff782dedcd7cc615d558ff5d7fbe42383.tar.gz |
Make work on Interix. It has a mkdev() but not a makedev(), so define
makedev() in terms of mkdev() in that case.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gtar-base/patches/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/archivers/gtar-base/patches/patch-ac b/archivers/gtar-base/patches/patch-ac new file mode 100644 index 00000000000..bb9318f9f6d --- /dev/null +++ b/archivers/gtar-base/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.4 2004/04/24 23:07:53 tv Exp $ + +--- src/system.h.orig Sat Apr 24 19:05:49 2004 ++++ src/system.h +@@ -309,6 +309,9 @@ extern int errno; + + #if MAJOR_IN_MKDEV + # include <sys/mkdev.h> ++# if !defined(makedev) && defined(mkdev) ++# define makedev(a,b) mkdev((a),(b)) ++# endif + # define GOT_MAJOR + #endif + |