Control: tags 890634 + pending
Dear maintainer,
I've prepared an NMU for eq10q (versioned as 2.2~repack0-2.1) 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 eq10q-2.2~repack0/debian/changelog eq10q-2.2~repack0/debian/changelog
--- eq10q-2.2~repack0/debian/changelog 2016-12-13 16:26:26.000000000 +0200
+++ eq10q-2.2~repack0/debian/changelog 2018-03-20 19:40:58.000000000 +0200
@@ -1,3 +1,11 @@
+eq10q (2.2~repack0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add patch from Aurelien Jarno to fix FTBFS with glibc 2.27.
+ (Closes: #890634)
+
+ -- Adrian Bunk <[email protected]> Tue, 20 Mar 2018 19:40:58 +0200
+
eq10q (2.2~repack0-2) unstable; urgency=medium
* Remove redundant amd64 cflags.
diff -Nru eq10q-2.2~repack0/debian/patches/05-pow10.patch eq10q-2.2~repack0/debian/patches/05-pow10.patch
--- eq10q-2.2~repack0/debian/patches/05-pow10.patch 1970-01-01 02:00:00.000000000 +0200
+++ eq10q-2.2~repack0/debian/patches/05-pow10.patch 2018-03-20 19:40:58.000000000 +0200
@@ -0,0 +1,73 @@
+Description: Replace deprecated pow10 by exp10.
+Author: Aurelien Jarno <[email protected]>
+Forwarded: no
+
+--- eq10q-2.2~repack0.orig/gui/widgets/bandctl.cpp
++++ eq10q-2.2~repack0/gui/widgets/bandctl.cpp
+@@ -949,7 +949,7 @@ bool BandCtl::parseBtnString(BandCtl::Bu
+ if(str_k.length() > 0)
+ {
+ val_k = atof(str_k.c_str()) * 1e3;
+- val *= pow10(3.0 - str.length());
++ val *= exp10(3.0 - str.length());
+ if(str.length() > 3)
+ {
+ //throw an error, imposible to match str > 3 with k
+@@ -960,7 +960,7 @@ bool BandCtl::parseBtnString(BandCtl::Bu
+ }
+ if(str_d.length() > 0)
+ {
+- val_d = atof(str_d.c_str())/ pow10((double)str_d.length());
++ val_d = atof(str_d.c_str())/ exp10((double)str_d.length());
+ }
+
+ btn->value = val + val_k + val_d;
+--- eq10q-2.2~repack0.orig/gui/widgets/bodeplot.cpp
++++ eq10q-2.2~repack0/gui/widgets/bodeplot.cpp
+@@ -194,14 +194,14 @@ void PlotEQCurve::resetCenterSpan()
+ {
+ //Compute center and span for the full range spectrum
+ double sp = log10(MAX_FREQ/MIN_FREQ);
+- double cn = MIN_FREQ * sqrt(pow10(sp));
++ double cn = MIN_FREQ * sqrt(exp10(sp));
+ setCenterSpan(cn, sp);
+ }
+
+ void PlotEQCurve::setCenterSpan(double center, double span)
+ {
+- m_minFreq = center / sqrt(pow10(span));
+- m_maxFreq = center * sqrt(pow10(span));
++ m_minFreq = center / sqrt(exp10(span));
++ m_maxFreq = center * sqrt(exp10(span));
+
+ //Initalize the grid
+ const double f_grid[GRID_VERTICAL_LINES] = {20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0,
+@@ -246,8 +246,8 @@ void PlotEQCurve::setCenter(double cente
+ {
+ //Limit center to the possible range according the current span
+ double sp = log10(m_maxFreq/m_minFreq);
+- double cmin = MIN_FREQ * sqrt(pow10(sp));
+- double cmax = MAX_FREQ / sqrt(pow10(sp));
++ double cmin = MIN_FREQ * sqrt(exp10(sp));
++ double cmax = MAX_FREQ / sqrt(exp10(sp));
+
+ double cn = center;
+ cn = cn > cmax ? cmax : cn;
+@@ -259,7 +259,7 @@ void PlotEQCurve::setSpan(double span)
+ {
+ //Limit center to the possible range according the current span
+ double sp_act = log10(m_maxFreq/m_minFreq);
+- double cn = m_minFreq * sqrt(pow10(sp_act));
++ double cn = m_minFreq * sqrt(exp10(sp_act));
+ double smax1 = 2.0*log10(cn/MIN_FREQ);
+ double smax2= 2.0*log10(MAX_FREQ/cn);
+ double smax = smax1 < smax2 ? smax1 : smax2;
+@@ -306,7 +306,7 @@ void PlotEQCurve::recomputeCenterFreq(do
+ double fmax = MIN_FREQ*pow((MAX_FREQ/MIN_FREQ),((local_x2 + 3.5)/((double)m_zoom_surface_ptr->get_width())));
+
+ double sp_act = log10(fmax/fmin);
+- double cn = fmin * sqrt(pow10(sp_act));
++ double cn = fmin * sqrt(exp10(sp_act));
+ setCenter(cn);
+ }
+
diff -Nru eq10q-2.2~repack0/debian/patches/series eq10q-2.2~repack0/debian/patches/series
--- eq10q-2.2~repack0/debian/patches/series 2016-12-13 16:24:56.000000000 +0200
+++ eq10q-2.2~repack0/debian/patches/series 2018-03-20 19:40:58.000000000 +0200
@@ -2,3 +2,4 @@
02-remove_sse_flags.patch
03-fix_flags.patch
04-spelling.patch
+05-pow10.patch