$NetBSD: patch-ab,v 1.5 2005/10/10 21:36:56 joerg Exp $ --- dao/main.cc.orig 2005-05-09 15:48:40.000000000 +0000 +++ dao/main.cc @@ -108,7 +108,7 @@ static TrackData::SubChannelMode READ_SU static Settings *SETTINGS = NULL; // settings read from $HOME/.cdrdao -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__DragonFly__) # ifdef USE_SCGLIB static const char *SCSI_DEVICE = "0,0,0"; @@ -124,7 +124,11 @@ static int FIFO_BUFFERS = 32; #else -static const char *SCSI_DEVICE = "0,0,0"; +#if defined (__i386__) +static const char *SCSI_DEVICE = "/dev/rcd0d"; +#else +static const char *SCSI_DEVICE = "/dev/rcd0c"; +#endif /* __i386__ */ static int FIFO_BUFFERS = 32; #endif