aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--sysutils/dvd+rw-tools/Makefile1
-rw-r--r--sysutils/dvd+rw-tools/files/patch-growisofs.c13
-rw-r--r--sysutils/dvd+rw-tools/files/patch-transport.hxx12
3 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/dvd+rw-tools/Makefile b/sysutils/dvd+rw-tools/Makefile
index 9d4df314e09d..38f5d287202b 100644
--- a/sysutils/dvd+rw-tools/Makefile
+++ b/sysutils/dvd+rw-tools/Makefile
@@ -6,6 +6,7 @@
PORTNAME= dvd+rw-tools
PORTVERSION= 5.19.4.9.7
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.pkix.net/mirror/fy.chalmers.se/ \
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
diff --git a/sysutils/dvd+rw-tools/files/patch-growisofs.c b/sysutils/dvd+rw-tools/files/patch-growisofs.c
new file mode 100644
index 000000000000..60272b33c786
--- /dev/null
+++ b/sysutils/dvd+rw-tools/files/patch-growisofs.c
@@ -0,0 +1,13 @@
+diff -dur dvd+rw-tools-5.19.4.9.7/growisofs.c dvd+rw-tools-5.19-1.4.9.7/growisofs.c
+--- growisofs.c Sun Apr 4 04:47:51 2004
++++ growisofs.c Wed Apr 21 15:31:19 2004
+@@ -296,7 +296,7 @@
+ char *s=strrchr((cmd),'/'); \
+ s ? s++ : (s=(cmd)); \
+ printf ("* %.*sgrowisofs by <appro@fy.chalmers.se>,"\
+- " version 5.19,\n",(int)(s-(cmd)),(cmd)); \
++ " version 5.19-1,\n",(int)(s-(cmd)),(cmd)); \
+ } while (0)
+
+ #define _LARGEFILE_SOURCE
+
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;