[debian-edu-commits] debian-edu/pkg-team/ 01/01: Add new well-defined-loop.patch to fix compile error triggered by undefined loop behaviour (Closes: #753177).
Petter Reinholdtsen
pere at moszumanska.debian.org
Wed Oct 1 20:56:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository lmms.
commit 4ce49df85f58f9a90baaad63ae8809b28edfe72d
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Wed Oct 1 22:56:12 2014 +0200
Add new well-defined-loop.patch to fix compile error triggered by undefined loop behaviour (Closes: #753177).
---
debian/changelog | 3 ++-
debian/patches/series | 1 +
debian/patches/well-defined-loop.patch | 36 ++++++++++++++++++++++++++++++++++
3 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 944786c..2384463 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,10 +3,11 @@ lmms (1.0.3-2) UNRELEASED; urgency=low
* Move package into Debian Edu git repository and add myself as
co-maintainer.
* Update to upstream version 1.0.3.
- - Fixes undefined loop behaviour (Closes: #753177)
* Correct build dependency on i386, use libwine-dev instead of the now
obsolete wine-dev (Closes: #748183).
* Update Standards-Version from 3.9.5 to 3.9.6.
+ * Add new well-defined-loop.patch to fix compile error triggered by
+ undefined loop behaviour (Closes: #753177).
-- Petter Reinholdtsen <pere at debian.org> Wed, 01 Oct 2014 21:17:29 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f8c4d06
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+well-defined-loop.patch
diff --git a/debian/patches/well-defined-loop.patch b/debian/patches/well-defined-loop.patch
new file mode 100644
index 0000000..61dc24c
--- /dev/null
+++ b/debian/patches/well-defined-loop.patch
@@ -0,0 +1,36 @@
+Description: Fix undefined loop behaviour.
+Author: Petter Reinholdtsen <pere at debian.org>
+Bug-Debian: http://bugs.debian.org/753177
+Last-Update: 2014-10-01
+
+--- lmms-1.0.3.orig/plugins/LadspaEffect/swh/bode_shifter_cv_1432.c
++++ lmms-1.0.3/plugins/LadspaEffect/swh/bode_shifter_cv_1432.c
+@@ -350,7 +350,7 @@ static void runAddingBodeShifterCV(LADSP
+ /* Perform the Hilbert FIR convolution
+ * (probably FFT would be faster) */
+ hilb = 0.0f;
+- for (i = 0; i <= NZEROS/2; i++) {
++ for (i = 0; i < NZEROS/2; i++) {
+ hilb += (xcoeffs[i] * delay[(dptr - i*2) & (D_SIZE - 1)]);
+ }
+
+--- lmms-1.0.3.orig/plugins/LadspaEffect/swh/surround_encoder_1401.c
++++ lmms-1.0.3/plugins/LadspaEffect/swh/surround_encoder_1401.c
+@@ -228,7 +228,7 @@ static void runSurroundEncoder(LADSPA_Ha
+ for (pos = 0; pos < sample_count; pos++) {
+ delay[dptr] = s[pos];
+ hilb = 0.0f;
+- for (i = 0; i <= NZEROS/2; i++) {
++ for (i = 0; i < NZEROS/2; i++) {
+ hilb += (xcoeffs[i] * delay[(dptr - i*2) & (D_SIZE - 1)]);
+ }
+ dptr = (dptr + 1) & (D_SIZE - 1);
+@@ -296,7 +296,7 @@ static void runAddingSurroundEncoder(LAD
+ for (pos = 0; pos < sample_count; pos++) {
+ delay[dptr] = s[pos];
+ hilb = 0.0f;
+- for (i = 0; i <= NZEROS/2; i++) {
++ for (i = 0; i < NZEROS/2; i++) {
+ hilb += (xcoeffs[i] * delay[(dptr - i*2) & (D_SIZE - 1)]);
+ }
+ dptr = (dptr + 1) & (D_SIZE - 1);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/lmms.git
More information about the debian-edu-commits
mailing list