summaryrefslogtreecommitdiff
path: root/debian/patches/58_progress_changed_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/58_progress_changed_error.patch')
-rw-r--r--debian/patches/58_progress_changed_error.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/58_progress_changed_error.patch b/debian/patches/58_progress_changed_error.patch
new file mode 100644
index 0000000..1116c63
--- /dev/null
+++ b/debian/patches/58_progress_changed_error.patch
@@ -0,0 +1,14 @@
+Don't fail when progress() has never been called before. Debian #295207.
+
+diff -urN jack-3.1.1~/jack_functions.py jack-3.1.1/jack_functions.py
+--- jack-3.1.1~/jack_functions.py 2005-06-20 17:07:52.237610968 +0100
++++ jack-3.1.1/jack_functions.py 2005-06-20 17:08:07.111349816 +0100
+@@ -33,6 +33,8 @@
+
+ from jack_globals import *
+
++progress_changed = 0
++
+ def df(fs = ".", blocksize = 1024):
+ "returns free space on a filesystem (in bytes)"
+ try: