aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dvd+rw-tools
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-04-24 23:20:53 +0800
committerlofi <lofi@FreeBSD.org>2004-04-24 23:20:53 +0800
commit7ec07cae4b0f2a06a7cecd9488a6903d1a7855e8 (patch)
tree86693c3466a5e5c7287c8144b07ea95496b7900a /sysutils/dvd+rw-tools
parent14356523fffd081abbada767a858d2c93fd797f9 (diff)
downloadfreebsd-ports-gnome-7ec07cae4b0f2a06a7cecd9488a6903d1a7855e8.tar.gz
freebsd-ports-gnome-7ec07cae4b0f2a06a7cecd9488a6903d1a7855e8.tar.zst
freebsd-ports-gnome-7ec07cae4b0f2a06a7cecd9488a6903d1a7855e8.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
Diffstat (limited to 'sysutils/dvd+rw-tools')
-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;