aboutsummaryrefslogtreecommitdiffstats
path: root/community/sox/fix-musl.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-24 04:01:30 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-24 04:30:45 -0300
commit5402121572105dacecfadf254239c4aafed6dbae (patch)
tree952de90f4358f4bbba6fa91a25d3ecd34bef8965 /community/sox/fix-musl.patch
parent8fe1e872abac8f72643a642a9aba31a7f1a1e4dc (diff)
downloadaports-5402121572105dacecfadf254239c4aafed6dbae.tar.bz2
aports-5402121572105dacecfadf254239c4aafed6dbae.tar.xz
community/sox: backport a few CVEs
Thanks to Arch Linux for doing most of the hard work resolves #10522
Diffstat (limited to 'community/sox/fix-musl.patch')
-rw-r--r--community/sox/fix-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/sox/fix-musl.patch b/community/sox/fix-musl.patch
new file mode 100644
index 0000000000..8f23253e9c
--- /dev/null
+++ b/community/sox/fix-musl.patch
@@ -0,0 +1,11 @@
+--- ./src/formats.c.orig 2013-02-17 12:19:38.318344596 +0000
++++ ./src/formats.c 2013-02-17 12:50:31.560549872 +0000
+@@ -417,7 +417,7 @@
+ /* To fix this #error, either simply remove the #error line and live without
+ * file-type detection with pipes, or add support for your compiler in the
+ * lines above. Test with cat monkey.wav | ./sox --info - */
+- #error FIX NEEDED HERE
++// #error FIX NEEDED HERE
+ #define NO_REWIND_PIPE
+ (void)fp;
+ #endif