Package: zynaddsubfx
Version: 2.5.2-2
Followup-For: Bug #818816
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/patches/0007-isnan.patch: Grab patch from upstream Git to fix FTBFS
    with libc 2.23 due to unqualified isnan.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-18-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru zynaddsubfx-2.5.2/debian/patches/0007-isnan.patch zynaddsubfx-2.5.2/debian/patches/0007-isnan.patch
--- zynaddsubfx-2.5.2/debian/patches/0007-isnan.patch	1970-01-01 00:00:00.000000000 +0000
+++ zynaddsubfx-2.5.2/debian/patches/0007-isnan.patch	2016-04-09 09:45:17.000000000 +0000
@@ -0,0 +1,24 @@
+Description: prefix isnan with std:: to fix FTBFS with libc 2.23
+Author: Mark McCurry <mark.d.mccu...@gmail.com>
+Origin: upstream
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818816
+Forwarded: not-needed
+Applied-Upstream: https://sourceforge.net/p/zynaddsubfx/code/ci/edca8ab11b0f408b9343dbf33cb3eb7f4c337577/
+Last-Update: 2016-04-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/DSP/FFTwrapper.h
++++ b/src/DSP/FFTwrapper.h
+@@ -58,10 +58,10 @@
+ FFTpolar(const _Tp& __rho, const _Tp& __theta = _Tp(0))
+ {
+         _Tp __x = __rho * cos(__theta);
+-        if (isnan(__x))
++        if (std::isnan(__x))
+                 __x = 0;
+         _Tp __y = __rho * sin(__theta);
+-        if (isnan(__y))
++        if (std::isnan(__y))
+                 __y = 0;
+         return std::complex<_Tp>(__x, __y);
+ }
diff -Nru zynaddsubfx-2.5.2/debian/patches/series zynaddsubfx-2.5.2/debian/patches/series
--- zynaddsubfx-2.5.2/debian/patches/series	2015-11-16 21:06:21.000000000 +0000
+++ zynaddsubfx-2.5.2/debian/patches/series	2016-04-09 08:02:16.000000000 +0000
@@ -4,3 +4,4 @@
 0004-fix_build.patch
 0005-desktop_files.patch
 0006-misspeling-2.patch
+0007-isnan.patch
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to