pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gcpio Add makedev->mkdev fix for Interix, ad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e0123166e67
branches:  trunk
changeset: 487673:7e0123166e67
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 18 16:04:39 2005 +0000

description:
Add makedev->mkdev fix for Interix, adapted from gtar-base.

diffstat:

 archivers/gcpio/distinfo         |   3 ++-
 archivers/gcpio/patches/patch-ag |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 8e228749a232 -r 7e0123166e67 archivers/gcpio/distinfo
--- a/archivers/gcpio/distinfo  Tue Jan 18 15:04:34 2005 +0000
+++ b/archivers/gcpio/distinfo  Tue Jan 18 16:04:39 2005 +0000
@@ -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-ad) = 854df599fa330ae2b07ab6cae4c2a1f2e0988ff5
 SHA1 (patch-ae) = 5de604f8278756e1ef8d4b72f9cd7638cb0496ab
 SHA1 (patch-af) = d42ed286fa508dc2be2415614412cac8929f19f8
+SHA1 (patch-ag) = aadb8f4fa2ec467905ad83558227dcc244405b3e
diff -r 8e228749a232 -r 7e0123166e67 archivers/gcpio/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gcpio/patches/patch-ag  Tue Jan 18 16:04:39 2005 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index