aboutsummaryrefslogtreecommitdiffstats
path: root/testing/par2cmdline/par2cmdline-0.4-offset.patch
diff options
context:
space:
mode:
authorKalonji <lonkaji@gmail.com>2011-01-05 20:51:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-06 16:46:58 +0000
commite0ea45d11b5a05c041de8dc84d3e9c08347cbf17 (patch)
tree8b38515d772335cbd21b566032a486f0bbbf90f6 /testing/par2cmdline/par2cmdline-0.4-offset.patch
parentcb424d1f4591b21f95289a1bcc2cc081076af6e5 (diff)
downloadaports-e0ea45d11b5a05c041de8dc84d3e9c08347cbf17.tar.bz2
aports-e0ea45d11b5a05c041de8dc84d3e9c08347cbf17.tar.xz
new port: par2cmdline
Diffstat (limited to 'testing/par2cmdline/par2cmdline-0.4-offset.patch')
-rw-r--r--testing/par2cmdline/par2cmdline-0.4-offset.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/par2cmdline/par2cmdline-0.4-offset.patch b/testing/par2cmdline/par2cmdline-0.4-offset.patch
new file mode 100644
index 0000000000..6539280668
--- /dev/null
+++ b/testing/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)
+ {