aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dvd+rw-tools/files/patch-transport.hxx
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-04-24 15:20:53 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-04-24 15:20:53 +0000
commitfe9010cb8ae4efe57bf0a0c2f90862d206b7e47c (patch)
tree17a83e87c64656dc3bc85fc173d80c9a6fa84450 /sysutils/dvd+rw-tools/files/patch-transport.hxx
parent18776baee349a161f5b23f66c527389189362295 (diff)
downloadports-fe9010cb8ae4efe57bf0a0c2f90862d206b7e47c.tar.gz
ports-fe9010cb8ae4efe57bf0a0c2f90862d206b7e47c.zip
Add a fix for a bug that prevented dvd+rw tools from finalizing discs.
Submitted by: Chuck Swiger <cswiger@mac.com> Approved by: portmgr PR: ports/65861
Notes
Notes: svn path=/head/; revision=107803
Diffstat (limited to 'sysutils/dvd+rw-tools/files/patch-transport.hxx')
-rw-r--r--sysutils/dvd+rw-tools/files/patch-transport.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/dvd+rw-tools/files/patch-transport.hxx b/sysutils/dvd+rw-tools/files/patch-transport.hxx
new file mode 100644
index 000000000000..98d5097dfd98
--- /dev/null
+++ b/sysutils/dvd+rw-tools/files/patch-transport.hxx
@@ -0,0 +1,12 @@
+diff -dur dvd+rw-tools-5.19.4.9.7/transport.hxx dvd+rw-tools-5.19-1.4.9.7/transport.hxx
+--- transport.hxx Sat Apr 10 09:30:11 2004
++++ transport.hxx Mon Apr 19 12:25:06 2004
+@@ -1390,7 +1390,7 @@
+ *progress = sensebuf[16]<<8|sensebuf[17];
+ break;
+ }
+- msecs = getmsecs();
++ msecs = 1000 - (getmsecs() - msecs);
+ }
+
+ return 0;