openbsd-ports/misc/cdrdao/patches/patch-scsilib_libscg_scsi-bsd_c
fgsch 91c8878e06 Update to cdrdao 1.1.5; thanks to David Lebel <lebel@lebel.org> for
letting me know.
Remove ONLY_FOR_ARCH; this should work with other archs now.
Test requiered.
2001-05-10 03:21:59 +00:00

12 lines
396 B
Plaintext

$OpenBSD: patch-scsilib_libscg_scsi-bsd_c,v 1.2 2001/05/10 03:22:01 fgsch Exp $
--- scsilib/libscg/scsi-bsd.c.orig Sun Apr 29 05:44:46 2001
+++ scsilib/libscg/scsi-bsd.c Wed May 9 23:42:32 2001
@@ -76,6 +76,7 @@ struct scg_local {
#else
#if defined(__OpenBSD__) && defined(TYPE_ATAPI)
+#define MAYBE_ATAPI
#define SADDR_ISSCSI(a) ((a).type == TYPE_SCSI)
#else
#define SADDR_ISSCSI(a) (1)