aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch
blob: 605863a221d6cfbc8da666e8cf1a9a1470907e51 (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 c2aed28e3e14329ad0a8c4371fdcce9934013f21 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

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 7e231ca..b13f0d5 100644
--- a/src/formats.c
+++ b/src/formats.c
@@ -416,7 +416,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.au | ./sox --info - */
-  #error FIX NEEDED HERE
   #define NO_REWIND_PIPE
   (void)fp;
 #endif
-- 
2.13.2