summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2005-08-21 02:36:34 +0000
committerLuis Medinas <metalgod@gentoo.org>2005-08-21 02:36:34 +0000
commitad6eefdedac5698f68bd8a86a6cec8559df5ad3e (patch)
tree89b3d77be6e13b2518e78aafb5bab91a5a91dbed /app-cdr/cdrtools/files
parentAdd support for USE=zlib by Steve Dibb in #103150. (diff)
downloadgentoo-2-ad6eefdedac5698f68bd8a86a6cec8559df5ad3e.tar.gz
gentoo-2-ad6eefdedac5698f68bd8a86a6cec8559df5ad3e.tar.bz2
gentoo-2-ad6eefdedac5698f68bd8a86a6cec8559df5ad3e.zip
Added a few patches to fix cdrecord problems when users needs to burn cd/dvd. Fixes bug #102940.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-cdr/cdrtools/files')
-rw-r--r--app-cdr/cdrtools/files/cdrtools-2.01.01a03-rezero.patch12
-rw-r--r--app-cdr/cdrtools/files/cdrtools-2.01.01a03-warnings.patch22
-rw-r--r--app-cdr/cdrtools/files/cdrtools-2.01a27-writemode.patch11
-rw-r--r--app-cdr/cdrtools/files/digest-cdrtools-2.01.01_alpha03-r12
4 files changed, 47 insertions, 0 deletions
diff --git a/app-cdr/cdrtools/files/cdrtools-2.01.01a03-rezero.patch b/app-cdr/cdrtools/files/cdrtools-2.01.01a03-rezero.patch
new file mode 100644
index 000000000000..7e8d71f7a6c2
--- /dev/null
+++ b/app-cdr/cdrtools/files/cdrtools-2.01.01a03-rezero.patch
@@ -0,0 +1,12 @@
+--- cdrtools-2.01.01/cdrecord/cdrecord.c.rezero 2005-08-03 12:50:28.000000000 +0200
++++ cdrtools-2.01.01/cdrecord/cdrecord.c 2005-08-03 12:50:53.000000000 +0200
+@@ -3880,7 +3880,8 @@
+ scsi_start_stop_unit(scgp, 1, 0, immed);
+ wait_unit_ready(scgp, 120);
+ scgp->silent++;
+- rezero_unit(scgp); /* Is this needed? Not supported by some drvives */
++ /* kernel >= 2.6.12 does not like that as user
++ rezero_unit(scgp); */ /* Is this needed? Not supported by some drvives */
+ scgp->silent--;
+ test_unit_ready(scgp);
+ scsi_start_stop_unit(scgp, 1, 0, immed);
diff --git a/app-cdr/cdrtools/files/cdrtools-2.01.01a03-warnings.patch b/app-cdr/cdrtools/files/cdrtools-2.01.01a03-warnings.patch
new file mode 100644
index 000000000000..86aaad40fecb
--- /dev/null
+++ b/app-cdr/cdrtools/files/cdrtools-2.01.01a03-warnings.patch
@@ -0,0 +1,22 @@
+--- cdrtools-2.01.01/RULES/mk-gmake.id.warnings 2005-07-22 16:01:01.000000000 +0200
++++ cdrtools-2.01.01/RULES/mk-gmake.id 2005-07-22 16:05:27.000000000 +0200
+@@ -30,7 +30,7 @@
+
+ ifndef ARCH_DONE
+
+-__gmake_warn:= $(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 1>&2; sleep 2)
++#__gmake_warn:= $(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 1>&2; sleep 2)
+
+ _MACHCMD= (mach || uname -p || true) 2> /dev/null
+ _ARCHCMD= (arch || /usr/ucb/arch || true) 2> /dev/null
+--- cdrtools-2.01.01/cdrecord/cdrecord.c.warnings 2005-07-22 16:01:01.000000000 +0200
++++ cdrtools-2.01.01/cdrecord/cdrecord.c 2005-07-22 16:01:01.000000000 +0200
+@@ -4894,6 +4894,8 @@
+ #ifdef HAVE_UNAME
+ struct utsname un;
+
++ /* Try not to break the diff for each cdrecord release */
++ return;
+ if (uname(&un) >= 0) {
+ /*
+ * I really hope that the Linux kernel developers will soon
diff --git a/app-cdr/cdrtools/files/cdrtools-2.01a27-writemode.patch b/app-cdr/cdrtools/files/cdrtools-2.01a27-writemode.patch
new file mode 100644
index 000000000000..68f0e8a2fd3f
--- /dev/null
+++ b/app-cdr/cdrtools/files/cdrtools-2.01a27-writemode.patch
@@ -0,0 +1,11 @@
+--- cdrtools-2.01/cdrecord/cdrecord.c.writemode 2004-03-12 13:37:54.164860489 +0100
++++ cdrtools-2.01/cdrecord/cdrecord.c 2004-03-12 13:38:02.747937392 +0100
+@@ -3597,8 +3597,6 @@
+ errmsgno(EX_BAD, "No write mode specified.\n");
+ errmsgno(EX_BAD, "Asuming -tao mode.\n");
+ errmsgno(EX_BAD, "Future versions of cdrecord may have different drive dependent defaults.\n");
+- errmsgno(EX_BAD, "Continuing in 5 seconds...\n");
+- sleep(5);
+ tao = 1;
+ }
+ tracks++;
diff --git a/app-cdr/cdrtools/files/digest-cdrtools-2.01.01_alpha03-r1 b/app-cdr/cdrtools/files/digest-cdrtools-2.01.01_alpha03-r1
new file mode 100644
index 000000000000..5e5a8969111b
--- /dev/null
+++ b/app-cdr/cdrtools/files/digest-cdrtools-2.01.01_alpha03-r1
@@ -0,0 +1,2 @@
+MD5 6c5683a6f85c89cc163307a5e434086c cdrtools-2.01.01a03.tar.bz2 1423541
+MD5 785184b45952798c72b26e3da9db0e0f cdrtools-2.01-encrypt-1.0rc1.diff.gz 25384