Annotation of /trunk/cdrdao/patches/cdrdao-1.2.2-device.patch
Parent Directory | Revision Log
Revision 871 -
(hide annotations)
(download)
Thu Jul 16 16:10:19 2009 UTC (15 years, 2 months ago) by niro
File size: 565 byte(s)
Thu Jul 16 16:10:19 2009 UTC (15 years, 2 months ago) by niro
File size: 565 byte(s)
patches for cdrdao
1 | niro | 871 | |
2 | #!/bin/sh /usr/share/dpatch/dpatch-run | ||
3 | ## 04-device.dpatch by Free Ekanayaka <free@64studio.com> | ||
4 | ## | ||
5 | ## DP: Change default device to /dev/cdrw (Closes: #452123). | ||
6 | |||
7 | @DPATCH@ | ||
8 | |||
9 | diff -Naur cdrdao-1.2.2.orig/dao/main.cc cdrdao-1.2.2/dao/main.cc | ||
10 | --- cdrdao-1.2.2.orig/dao/main.cc 2006-09-19 09:07:11.000000000 +0000 | ||
11 | +++ cdrdao-1.2.2/dao/main.cc 2006-10-06 20:24:57.000000000 +0000 | ||
12 | @@ -140,7 +140,7 @@ | ||
13 | |||
14 | #elif defined(__linux__) | ||
15 | |||
16 | -static const char *SCSI_DEVICE = "/dev/cdrecorder"; | ||
17 | +static const char *SCSI_DEVICE = "/dev/cdrw"; | ||
18 | static int FIFO_BUFFERS = 32; | ||
19 | |||
20 | #else | ||
21 |