blob: 3085bd495c46a184796e04d15b2c78fc9a9c0204 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From d0313be5fb947df399a4db24a5f9244510d2ce87 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 12 Jul 2017 16:36:06 -0700
Patrick Williams8e7b46e2023-05-01 14:19:06 -05004Subject: [PATCH] remove the #error line and live without file-type detection with pipes
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6this fallback is executed with musl
7
Patrick Williams8e7b46e2023-05-01 14:19:06 -05008Upstream-Status: Inappropriate [musl specific]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/formats.c | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/src/formats.c b/src/formats.c
Brad Bishop316dfdd2018-06-25 12:45:53 -040015index 724a4cda..f683a922 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016--- a/src/formats.c
17+++ b/src/formats.c
Brad Bishop316dfdd2018-06-25 12:45:53 -040018@@ -422,7 +422,6 @@ static void UNUSED rewind_pipe(FILE * fp)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019 /* To fix this #error, either simply remove the #error line and live without
20 * file-type detection with pipes, or add support for your compiler in the
Brad Bishop316dfdd2018-06-25 12:45:53 -040021 * lines above. Test with cat monkey.wav | ./sox --info - */
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022- #error FIX NEEDED HERE
23 #define NO_REWIND_PIPE
24 (void)fp;
25 #endif
26--
Brad Bishop316dfdd2018-06-25 12:45:53 -0400272.16.2
Brad Bishop6e60e8b2018-02-01 10:27:11 -050028