Backported upstream fix for IIRFilter with SIMD registers
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Tue, 19 Dec 2017 14:07:09 +0000 (15:07 +0100)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Tue, 19 Dec 2017 14:07:09 +0000 (15:07 +0100)
debian/patches/fixed_iirfilter_reset.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fixed_iirfilter_reset.patch b/debian/patches/fixed_iirfilter_reset.patch
new file mode 100644 (file)
index 0000000..b78e678
--- /dev/null
@@ -0,0 +1,19 @@
+Description: Fixed build error with IIR filter and SIMD registers
+Author: IOhannes m zmölnig
+Origin: upstream
+Bug: https://github.com/WeAreROLI/JUCE/issues/292
+Applied-Upstream: https://github.com/WeAreROLI/JUCE/commit/13d18e406c33724a9f8870c4602458fc6d94b750
+Last-Update: 2017-12-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/modules/juce_dsp/processors/juce_IIRFilter.h
++++ juce/modules/juce_dsp/processors/juce_IIRFilter.h
+@@ -88,7 +88,7 @@
+             Note that this clears the processing state, but the type of filter and\r
+             its coefficients aren't changed.\r
+         */\r
+-        void reset()            { reset ({}); }\r
++        void reset()            { reset (SampleType {}); }\r
\r
+         /** Resets the filter's processing pipeline to a specific value.\r
+             @see reset\r
index 0b0e526033dba7a1965cd4bfa83344d4f1704e47..b1d50520e92fea9a902666d75a5933f03750cb85 100644 (file)
@@ -1,4 +1,5 @@
 fix-spelling.patch
+fixed_iirfilter_reset.patch
 reproducible-date.patch
 debian_fixed-defines.patch
 debian_gpl_variant.patch