aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/par2cmdline/par2cmdline-0.4-offset.patch
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-31 12:03:05 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-31 12:03:05 +0000
commit9976fd36fd4a3b407d201512624d694f0efe43f3 (patch)
tree11f1dbaf91180ccab7d170de4e7c12864538bb03 /unmaintained/par2cmdline/par2cmdline-0.4-offset.patch
parent9eeba80d60902a340383bc1cfe909d5449e50e72 (diff)
downloadaports-9976fd36fd4a3b407d201512624d694f0efe43f3.tar.bz2
aports-9976fd36fd4a3b407d201512624d694f0efe43f3.tar.xz
testing/par2cmdline: move to unmaintained
Diffstat (limited to 'unmaintained/par2cmdline/par2cmdline-0.4-offset.patch')
-rw-r--r--unmaintained/par2cmdline/par2cmdline-0.4-offset.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/unmaintained/par2cmdline/par2cmdline-0.4-offset.patch b/unmaintained/par2cmdline/par2cmdline-0.4-offset.patch
new file mode 100644
index 0000000000..6539280668
--- /dev/null
+++ b/unmaintained/par2cmdline/par2cmdline-0.4-offset.patch
@@ -0,0 +1,16 @@
+--- par2cmdline-0.4.orig/par2creatorsourcefile.cpp 2004-04-15 14:45:23.000000000 +0100
++++ par2cmdline-0.4/par2creatorsourcefile.cpp 2005-09-29 02:27:43.000000000 +0100
+@@ -213,11 +213,12 @@
+ }
+ }
+
++ offset += want;
++
+ if (noiselevel > CommandLine::nlQuiet)
+ {
+ // Display progress
+ u32 oldfraction = (u32)(1000 * offset / filesize);
+- offset += want;
+ u32 newfraction = (u32)(1000 * offset / filesize);
+ if (oldfraction != newfraction)
+ {