aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch
blob: 3085bd495c46a184796e04d15b2c78fc9a9c0204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From d0313be5fb947df399a4db24a5f9244510d2ce87 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 12 Jul 2017 16:36:06 -0700
Subject: [PATCH] remove the #error line and live without file-type detection with pipes

this fallback is executed with musl

Upstream-Status: Inappropriate [musl specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/formats.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/formats.c b/src/formats.c
index 724a4cda..f683a922 100644
--- a/src/formats.c
+++ b/src/formats.c
@@ -422,7 +422,6 @@ static void UNUSED rewind_pipe(FILE * fp)
   /* 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
   #define NO_REWIND_PIPE
   (void)fp;
 #endif
-- 
2.16.2