summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortv <tv>2004-04-24 23:07:53 +0000
committertv <tv>2004-04-24 23:07:53 +0000
commitcaa449db16fd1b6080937081907ac008aca74cb3 (patch)
tree4fe8c2d5be384263588be8cd85b330f0fe90cbaf /archivers
parent8cd1e26ef32b79477b0656f6ad145529ad2f9735 (diff)
downloadpkgsrc-caa449db16fd1b6080937081907ac008aca74cb3.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-ac14
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
+