Subject: archivers/pax and sys/mtio.h
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.apr.vier@onlinehome.de>
List: tech-pkg
Date: 04/10/2004 23:23:36
--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

as far as I can see, pax needs sys/mtio.h or at least compatible
definitions (see files/tape_h_fixup.h). UnixWare has sys/tape.h but this
file does not contain definitions pax could use. For the time being I
would like to apply the appended patch to pax.h.

ciao
     Klaus Heinz

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pax.h.diff"

--- pax.h.orig	Fri Mar 12 10:54:04 2004
+++ pax.h	Tue Mar 30 00:13:30 2004
@@ -44,7 +44,7 @@
 #endif
 
 /* Tape support only available if one of the following is available. */
-#if HAVE_SYS_MTIO_H || HAVE_SYS_TAPE_H
+#if (HAVE_SYS_MTIO_H || HAVE_SYS_TAPE_H) && ! defined(UNIXWARE)
 #define SUPPORT_TAPE 1
 #endif
 

--uAKRQypu60I7Lcqm--