summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-reload.patch')
-rw-r--r--app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-reload.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-reload.patch b/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-reload.patch
new file mode 100644
index 00000000000..49352e549a2
--- /dev/null
+++ b/app-cdr/dvd+rw-tools/files/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())