Dash:
[t2-trunk.git] / package / filesystem / cdrtools / no-junk.patch
blobca143b781eaa36ae1fb5c4bb20cdd4319abd237b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../cdrtools/no-junk.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
18 We neither want Solaris or commercial flavour advertising, nor needless
19 delays and everything is a /dev file bitching ...
21 - Rebe Rebe <rene@exactcode.de>
23 diff -r -U 1 cdrtools-2.01/cdrecord/cdrecord.c cdrtools-2.01-nonverb/cdrecord/cdrecord.c
24 --- cdrtools-2.01/cdrecord/cdrecord.c 2004-09-08 19:26:35.000000000 +0200
25 +++ cdrtools-2.01-nonverb/cdrecord/cdrecord.c 2006-01-13 16:06:23.000000000 +0100
26 @@ -666,5 +666,3 @@
27 errmsgno(EX_BAD,
28 - "If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.\n");
29 - errmsgno(EX_BAD,
30 - "Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/\n");
31 + "Try dvd+rwtools instead.\n");
33 @@ -3584,4 +3582,6 @@
34 errmsgno(EX_BAD, "Future versions of cdrecord may have different drive dependent defaults.\n");
35 +#if 0
36 errmsgno(EX_BAD, "Continuing in 5 seconds...\n");
37 sleep(5);
38 +#endif
39 tao = 1;
40 @@ -4680,3 +4680,3 @@
42 -#if defined(linux) || defined(__linux) || defined(__linux__)
43 +#if 0
44 #ifdef HAVE_UNAME
45 diff -r -U 1 cdrtools-2.01/libscg/scsi-linux-sg.c cdrtools-2.01-nonverb/libscg/scsi-linux-sg.c
46 --- cdrtools-2.01/libscg/scsi-linux-sg.c 2004-05-20 15:42:12.000000000 +0200
47 +++ cdrtools-2.01-nonverb/libscg/scsi-linux-sg.c 2006-01-13 15:26:47.000000000 +0100
48 @@ -499,2 +499,3 @@
50 +#if 0
51 if (scgp->overbose) {
52 @@ -512,2 +513,3 @@
54 +#endif
55 /* O_NONBLOCK is dangerous */