aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;