[pulseaudio] 04/05: Dropped patch, applied upstream

Luke Yelavich themuso-guest at moszumanska.debian.org
Thu Sep 24 04:40:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

themuso-guest pushed a commit to branch master
in repository pulseaudio.

commit 8fd555866f0d44ac84c28cbf0ab784390f23d886
Author: Luke Yelavich <themuso at ubuntu.com>
Date:   Thu Sep 24 14:38:19 2015 +1000

    Dropped patch, applied upstream
---
 debian/changelog                                   |  1 +
 .../0001-Fix-test-suite-failure-on-Alpha.patch     | 40 ----------------------
 debian/patches/series                              |  1 -
 3 files changed, 1 insertion(+), 41 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5d5c0b0..570597c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 pulseaudio (7.0-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Dropped patch, applied upstream
 
  -- Luke Yelavich <themuso at ubuntu.com>  Thu, 24 Sep 2015 14:36:51 +1000
 
diff --git a/debian/patches/0001-Fix-test-suite-failure-on-Alpha.patch b/debian/patches/0001-Fix-test-suite-failure-on-Alpha.patch
deleted file mode 100644
index db8f286..0000000
--- a/debian/patches/0001-Fix-test-suite-failure-on-Alpha.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From: Michael Cree <mcree at orcon.net.nz>
-Date: Thu, 10 Sep 2015 20:40:54 -0300
-Subject: Fix test-suite failure on Alpha
-
-Pulseaudio fails to build on the Alpha architecture due to a failure
-in the volume-test of the test suite. The failure in volume-test occurs
-because it is compiled with -ffast-math which implies
--ffinite-math-only of which the gcc manual states that it optimizes
-for floating-point arithmetic with the assumption that arguments and
-results are not NaNs or +/-infinity, and futher notes that it may
-result in incorrect output.
-
-On the Alpha platform that is somewhat an understatement as the use of
-non-finite floating-point arithmetic with -ffinite-math-only results in
-a floating-point exception and the termination of the program.
-
-The volume-test converts volumes into decibels (so a zero volume
-becomes a negative infinity) and proceeds to add two volumes (in
-decibels), thus does arithmetic with non-finite floating point numbers
-despite being compiled with -ffast-math!
----
- src/tests/volume-test.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/tests/volume-test.c b/src/tests/volume-test.c
-index bd0b01c..76b8206 100644
---- a/src/tests/volume-test.c
-+++ b/src/tests/volume-test.c
-@@ -114,7 +114,10 @@ START_TEST (volume_test) {
-             double q, qq;
- 
-             p = pa_sw_volume_multiply(v, w);
--            qq = db + db2;
-+	    if (isfinite(db) && isfinite(db2))
-+		qq = db + db2;
-+	    else
-+		qq = -INFINITY;
-             p2 = pa_sw_volume_from_dB(qq);
-             q = l*t;
-             p1 = pa_sw_volume_from_linear(q);
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 389856c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Fix-test-suite-failure-on-Alpha.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git



More information about the pkg-pulseaudio-devel mailing list