biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / audio / sox / 0001-musl-rewind-pipe-workaround.patch
blob6aacbcc65bcb1941c599f5abf7e0e4369b677fe6
1 From e7446c9bcb47674c9d0ee3b5bab129e9b86eb1c9 Mon Sep 17 00:00:00 2001
2 From: Walter Franzini <walter.franzini@gmail.com>
3 Date: Fri, 7 Jun 2019 17:57:11 +0200
4 Subject: [PATCH] musl does not support rewind pipe, make it build anyway
6 ---
7 src/formats.c | 1 -
8 1 file changed, 1 deletion(-)
10 diff --git a/src/formats.c b/src/formats.c
11 index f3efe764..477bf451 100644
12 --- a/src/formats.c
13 +++ b/src/formats.c
14 @@ -424,7 +424,6 @@ static void UNUSED rewind_pipe(FILE * fp)
15 /* To fix this #error, either simply remove the #error line and live without
16 * file-type detection with pipes, or add support for your compiler in the
17 * lines above. Test with cat monkey.wav | ./sox --info - */
18 - #error FIX NEEDED HERE
19 #define NO_REWIND_PIPE
20 (void)fp;
21 #endif
22 --
23 2.19.2