pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/gtar-base/patches Make work on Interix. It ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ea251f9e799e
branches: trunk
changeset: 473844:ea251f9e799e
user: tv <tv%pkgsrc.org@localhost>
date: Sat Apr 24 23:07:53 2004 +0000
description:
Make work on Interix. It has a mkdev() but not a makedev(), so define
makedev() in terms of mkdev() in that case.
diffstat:
archivers/gtar-base/patches/patch-ac | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r 16c7f6b8acf1 -r ea251f9e799e archivers/gtar-base/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gtar-base/patches/patch-ac Sat Apr 24 23:07:53 2004 +0000
@@ -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
+
Home |
Main Index |
Thread Index |
Old Index