summaryrefslogtreecommitdiff
path: root/user/sox/disable-pipe-file-detection.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/sox/disable-pipe-file-detection.patch')
-rw-r--r--user/sox/disable-pipe-file-detection.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/sox/disable-pipe-file-detection.patch b/user/sox/disable-pipe-file-detection.patch
new file mode 100644
index 000000000..3d2a854f7
--- /dev/null
+++ b/user/sox/disable-pipe-file-detection.patch
@@ -0,0 +1,11 @@
+--- sox-14.4.2/src/formats.c.old 2014-10-27 02:55:50.000000000 +0000
++++ sox-14.4.2/src/formats.c 2018-07-22 04:36:34.380000000 +0000
+@@ -422,7 +422,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