--- /dev/null
+--- vpb-driver-4.2.58/src/utils/dtmfcheck.cpp.orig 2014-09-28 20:02:28.000000000 +0200
++++ vpb-driver-4.2.58/src/utils/dtmfcheck.cpp 2019-12-01 17:11:16.935351767 +0100
+@@ -49,7 +49,7 @@
+ printf(" --block size Granularity of analysis. Default is 16000 samples (2sec)\n");
+ } //}}}
+
+-static double dBFactor( double db ) { return pow10( db / 20.0 ); }
++static double dBFactor( double db ) { return pow( 10, db / 20.0 ); }
+
+ static inline void LinearGain( double gain, int16_t *buf, size_t len )
+ { //{{{
Patch1: userspace-only.patch
Patch2: linux-4.12.patch
Patch3: kernel-4.14.patch
+Patch4: gcc8.patch
URL: http://www.voicetronix.com.au/downloads.htm#linux
BuildRequires: rpmbuild(macros) >= 1.701
%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%if %{without kernel}
%{__sed} -i -e 's,subdirs += $(srcdir)/vtcore $(srcdir)/vpb,,' src/Makefile.in