diff options
author | Matteo Bernardini | 2018-12-15 17:18:09 +0100 |
---|---|---|
committer | Matteo Bernardini | 2018-12-15 17:18:09 +0100 |
commit | 62c0270ef676a18dccbcc2b475323b66fadee9c5 (patch) | |
tree | 91a0a03eaf45184ecbe60e542e59484e45df75c8 /audio/caps/glibc-2.27.patch | |
parent | 9580ce08a1979e8bb9079d1bae7b1eafcc58b611 (diff) | |
download | slackbuilds-62c0270ef676a18dccbcc2b475323b66fadee9c5.tar.gz |
20181215.1 global branch merge.current-20181215.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/caps/glibc-2.27.patch')
-rw-r--r-- | audio/caps/glibc-2.27.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/caps/glibc-2.27.patch b/audio/caps/glibc-2.27.patch new file mode 100644 index 0000000000..1ae3258c93 --- /dev/null +++ b/audio/caps/glibc-2.27.patch @@ -0,0 +1,29 @@ +--- caps-0.9.24.orig/dsp/v4f_IIR2.h ++++ caps-0.9.24/dsp/v4f_IIR2.h +@@ -33,7 +33,7 @@ + namespace DSP { + + #ifdef __APPLE__ +-inline float pow10f(float f) {return pow(10,f);} ++inline float exp10f(float f) {return pow(10,f);} + #endif + + class RBJv4 +@@ -142,7 +142,7 @@ class IIR2v4 + /* A = pow (10, gain / 40) */ + v4f_t A = (v4f_t) {.025,.025,.025,.025}; + A *= gain; +- A = v4f_map<pow10f> (A); ++ A = v4f_map<exp10f> (A); + + RBJv4 p (f, Q); + +@@ -429,7 +429,7 @@ class IIR2v4Bank + /* A = pow (10, gain / 40) */ + v4f_t A = (v4f_t) {.025,.025,.025,.025}; + A *= gain[i]; +- A = v4f_map<pow10f> (A); ++ A = v4f_map<exp10f> (A); + + RBJv4 p (f[i], Q[i]); + |