blob: c29474c38215ef31c832629de200ab336479ef31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$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
|