summaryrefslogtreecommitdiff
path: root/archivers/gcpio
diff options
context:
space:
mode:
authortv <tv>2005-01-18 16:04:39 +0000
committertv <tv>2005-01-18 16:04:39 +0000
commit4561388301e23650850902aa0dd3c69d0ccd12ef (patch)
treee327ef86d62b64acbe1091c17c4106d4cb75ff22 /archivers/gcpio
parentc249960a03ede283829484a349c954bc30374af9 (diff)
downloadpkgsrc-4561388301e23650850902aa0dd3c69d0ccd12ef.tar.gz
Add makedev->mkdev fix for Interix, adapted from gtar-base.
Diffstat (limited to 'archivers/gcpio')
-rw-r--r--archivers/gcpio/distinfo3
-rw-r--r--archivers/gcpio/patches/patch-ag14
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/gcpio/distinfo b/archivers/gcpio/distinfo
index 5ccc77a6cac..626d490e39f 100644
--- a/archivers/gcpio/distinfo
+++ b/archivers/gcpio/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/06/06 21:29:33 minskim Exp $
+$NetBSD: distinfo,v 1.6 2005/01/18 16:04:39 tv Exp $
SHA1 (cpio-2.5.tar.gz) = d5908ee20484f092e591a430620feec33060528c
Size (cpio-2.5.tar.gz) = 185480 bytes
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = 404dcc134a0c8b9007a3efdc8caf6b36efcf125b
SHA1 (patch-ad) = 854df599fa330ae2b07ab6cae4c2a1f2e0988ff5
SHA1 (patch-ae) = 5de604f8278756e1ef8d4b72f9cd7638cb0496ab
SHA1 (patch-af) = d42ed286fa508dc2be2415614412cac8929f19f8
+SHA1 (patch-ag) = aadb8f4fa2ec467905ad83558227dcc244405b3e
diff --git a/archivers/gcpio/patches/patch-ag b/archivers/gcpio/patches/patch-ag
new file mode 100644
index 00000000000..af136f7cd24
--- /dev/null
+++ b/archivers/gcpio/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2005/01/18 16:04:39 tv Exp $
+
+--- system.h.orig 2005-01-18 11:03:19.000000000 -0500
++++ system.h
+@@ -59,6 +59,9 @@ off_t lseek ();
+ /* Since major is a function on SVR4, we can't use `ifndef major'. */
+ #ifdef MAJOR_IN_MKDEV
+ #include <sys/mkdev.h>
++# if !defined(makedev) && defined(mkdev)
++# define makedev(a,b) mkdev((a),(b))
++# endif
+ #define HAVE_MAJOR
+ #endif
+