summaryrefslogtreecommitdiff
path: root/user/sox/disable-pipe-file-detection.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:38:00 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:38:00 -0500
commitf652af7585e2a9a9f4b1245cb4d097debe781bd8 (patch)
tree5a8a7ab81d48936b0ce5130c263a8ead9be22954 /user/sox/disable-pipe-file-detection.patch
parente4e01460aecb95a67e06c9ff698c52b1d3e3107c (diff)
downloadpackages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.tar.gz
packages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.tar.bz2
packages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.tar.xz
packages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.zip
user/sox: pull in, modernise, fix license
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