diff --git a/dvd+rw-tools-7.0-reload.patch b/dvd+rw-tools-7.0-reload.patch new file mode 100644 index 0000000..49352e5 --- /dev/null +++ b/dvd+rw-tools-7.0-reload.patch @@ -0,0 +1,12 @@ +diff -Nrup dvd+rw-tools-7.0/growisofs_mmc.cpp dvd+rw-tools-7.0_mod/growisofs_mmc.cpp +--- dvd+rw-tools-7.0/growisofs_mmc.cpp 2006-09-23 20:45:49.000000000 +0800 ++++ dvd+rw-tools-7.0_mod/growisofs_mmc.cpp 2007-11-19 18:20:46.000000000 +0800 +@@ -138,7 +138,7 @@ int media_reload (char *name=NULL,struct + cmd[0] = 0x1B; // START/STOP UNIT + cmd[4] = 0x2; // "Eject" + cmd[5] = 0; +- if (cmd.transport()) return 1; ++ cmd.transport(); + } + #if defined(__sun) || defined(sun) + else if (volmgt_running()) diff --git a/dvd+rw-tools.spec b/dvd+rw-tools.spec index c0d006f..5c0c271 100644 --- a/dvd+rw-tools.spec +++ b/dvd+rw-tools.spec @@ -1,7 +1,7 @@ Summary: Toolchain to master DVD+RW/+R media Name: dvd+rw-tools Version: 7.0 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 Group: Applications/Multimedia Source: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-%{version}.tar.gz @@ -12,6 +12,7 @@ Patch3: dvd+rw-tools-7.0.manpatch Patch4: dvd+rw-tools-7.0-wexit.patch Patch5: dvd+rw-tools-7.0-bacula.patch Patch6: dvd+rw-tools-7.0-glibc2.6.90.patch +Patch7: dvd+rw-tools-7.0-reload.patch URL: http://fy.chalmers.se/~appro/linux/DVD+RW/ Requires: mkisofs >= 2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -29,6 +30,7 @@ information see http://fy.chalmers.se/~appro/linux/DVD+RW/. %patch4 -p1 -b .wexit %patch5 -p1 -b .bacula %patch6 -p1 -b .glibc2.6.90 +%patch7 -p1 -b .reload install -m 644 %{SOURCE1} index.html %build @@ -51,6 +53,10 @@ rm -rf %{buildroot} %{_mandir}/man1/growisofs.1* %changelog +* Tue Nov 20 2007 Harald Hoyer - 7.0-8 +- added a patch to fix a reload problem on some drives, + after a successful burn + * Fri Aug 31 2007 Matthias Saou 7.0-7 - Minor spec file cleanups (tabs vs. spaces, etc.). - Use install instead of cp for the html file to avoid umask differences.