diff options
author | Matteo Bernardini | 2018-10-06 08:26:41 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-10-06 08:26:41 +0200 |
commit | 389b3c43f33cdd25ba13cfc9b5ee1674106fbc13 (patch) | |
tree | dd8081a1bc6dbfeec30e68b4774b144864f2bef0 /audio/caps | |
parent | 4f4d6a32cce667ebff01e9d73878e4894c0328d4 (diff) | |
download | slackbuilds-69a76ea1a86ea1d306de1cd143ba1223b2c8edb5.tar.gz |
20181006.1 global branch merge.current-20181006.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/caps')
-rw-r--r-- | audio/caps/caps.SlackBuild | 3 | ||||
-rw-r--r-- | audio/caps/glibc-2.27.patch | 29 |
2 files changed, 32 insertions, 0 deletions
diff --git a/audio/caps/caps.SlackBuild b/audio/caps/caps.SlackBuild index f197d318d1..609622f9f3 100644 --- a/audio/caps/caps.SlackBuild +++ b/audio/caps/caps.SlackBuild @@ -59,6 +59,9 @@ find -L . \ patch -p1 < $CWD/gcc7fix.diff +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890633 +patch -p1 < $CWD/glibc-2.27.patch + if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then make OPTS="$SLKCFLAGS" ARCH="" else 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]); + |