Control: tags 897889 + patch
Control: tags 897889 + pending
Control: tags 897889 + ftbfs

Dear maintainer,

I've prepared an NMU for x42-plugins (versioned as 20170428-1.2) and 
uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

diff -Nru x42-plugins-20170428/debian/changelog x42-plugins-20170428/debian/changelog
--- x42-plugins-20170428/debian/changelog	2018-03-20 20:30:37.000000000 +0200
+++ x42-plugins-20170428/debian/changelog	2018-08-02 21:10:13.000000000 +0300
@@ -1,3 +1,11 @@
+x42-plugins (20170428-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add upstream patch for FTBFS with gcc 8,
+    thanks to Juhani Numminen. (Closes: #897889)
+
+ -- Adrian Bunk <b...@debian.org>  Thu, 02 Aug 2018 21:10:13 +0300
+
 x42-plugins (20170428-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru x42-plugins-20170428/debian/patches/0001-Fix-FTBS-with-gcc-8.patch x42-plugins-20170428/debian/patches/0001-Fix-FTBS-with-gcc-8.patch
--- x42-plugins-20170428/debian/patches/0001-Fix-FTBS-with-gcc-8.patch	1970-01-01 02:00:00.000000000 +0200
+++ x42-plugins-20170428/debian/patches/0001-Fix-FTBS-with-gcc-8.patch	2018-08-02 21:10:13.000000000 +0300
@@ -0,0 +1,30 @@
+From 06d32a0a9bd670925c4dd3e8097c3ae120d6e3e4 Mon Sep 17 00:00:00 2001
+From: Guido Aulisi <guido.aul...@gmail.com>
+Date: Thu, 15 Feb 2018 13:47:53 +0100
+Subject: Fix FTBS with gcc 8
+
+complex operator""i are declared in the namespace std::literals::complex_literals
+http://en.cppreference.com/w/cpp/numeric/complex/operator%22%22i
+
+Somehow gcc 8 is less permissive than gcc 7
+---
+ src/spectr.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/spectr.c b/src/spectr.c
+index 665ad4f..e9e06cc 100644
+--- a/tuna.lv2/src/spectr.c
++++ b/tuna.lv2/src/spectr.c
+@@ -31,6 +31,9 @@
+ # define creal(XX) std::real(XX)
+ # define cimag(XX) std::imag(XX)
+ # define _I ((complex_t)(1i))
++  #ifdef __cpp_lib_complex_udls
++    using namespace std::literals::complex_literals;
++  #endif
+   typedef std::complex<double> complex_t;
+ #else
+ # include <complex.h>
+-- 
+2.11.0
+
diff -Nru x42-plugins-20170428/debian/patches/series x42-plugins-20170428/debian/patches/series
--- x42-plugins-20170428/debian/patches/series	2018-03-20 20:30:34.000000000 +0200
+++ x42-plugins-20170428/debian/patches/series	2018-08-02 21:10:13.000000000 +0300
@@ -1 +1,2 @@
 pow10f.patch
+0001-Fix-FTBS-with-gcc-8.patch
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to