[SCM] gsequencer/master: provide patch to fix Bug#857931

jkraehemann-guest at users.alioth.debian.org jkraehemann-guest at users.alioth.debian.org
Thu Mar 16 14:20:14 UTC 2017


The following commit has been merged in the master branch:
commit 3a631b8c103b8b54c8281de19cde1fa4110fed2f
Author: Joël Krähemann <jkraehemann-guest at users.alioth.debian.org>
Date:   Thu Mar 16 15:20:06 2017 +0100

    provide patch to fix Bug#857931

diff --git a/debian/patches/fix-possible-division-by-zero.diff b/debian/patches/fix-possible-division-by-zero.diff
new file mode 100644
index 0000000..1e62f80
--- /dev/null
+++ b/debian/patches/fix-possible-division-by-zero.diff
@@ -0,0 +1,11 @@
+--- a/ags/X/machine/ags_oscillator.c
++++ b/ags/X/machine/ags_oscillator.c
+@@ -190,7 +190,7 @@
+   gtk_table_attach_defaults(table,
+ 			    (GtkWidget *) gtk_label_new("frequency\0"),
+ 			    2, 3, 1, 2);
+-  oscillator->frequency = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 100000.0, 1.0);
++  oscillator->frequency = (GtkSpinButton *) gtk_spin_button_new_with_range(8.0, 100000.0, 1.0);
+   gtk_spin_button_set_digits(oscillator->frequency,
+ 			     3);
+   oscillator->frequency->adjustment->value = 27.5;
diff --git a/debian/patches/series b/debian/patches/series
index 90a04d0..00deb76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-possible-division-by-zero.diff
 fix-matrix-callbacks.patch
 fix-delay-audio.patch
 fix-matrix.patch

-- 
gsequencer packaging



More information about the pkg-multimedia-commits mailing list