diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-13 22:39:58 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:57:34 +0200 |
commit | 07ab8e107124d32c0229d2f40dd38caf1464722f (patch) | |
tree | e414e1fe4131b847646a2aa33dceae023331f34d /meta-multimedia/recipes-multimedia/sox/sox | |
parent | 77c757f414ac89742a5e7bc76ceecedd7a2eb01f (diff) | |
download | meta-openembedded-07ab8e107124d32c0229d2f40dd38caf1464722f.tar.gz |
sox: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/sox/sox')
-rw-r--r-- | meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch b/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch new file mode 100644 index 000000000..605863a22 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/sox/sox/0001-remove-the-error-line-and-live-without-file-type-det.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From c2aed28e3e14329ad0a8c4371fdcce9934013f21 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 12 Jul 2017 16:36:06 -0700 | ||
4 | Subject: [PATCH] remove the #error line and live without file-type detection | ||
5 | with pipes | ||
6 | |||
7 | this fallback is executed with musl | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/formats.c | 1 - | ||
12 | 1 file changed, 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/formats.c b/src/formats.c | ||
15 | index 7e231ca..b13f0d5 100644 | ||
16 | --- a/src/formats.c | ||
17 | +++ b/src/formats.c | ||
18 | @@ -416,7 +416,6 @@ static void UNUSED rewind_pipe(FILE * fp) | ||
19 | /* 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 | ||
21 | * lines above. Test with cat monkey.au | ./sox --info - */ | ||
22 | - #error FIX NEEDED HERE | ||
23 | #define NO_REWIND_PIPE | ||
24 | (void)fp; | ||
25 | #endif | ||
26 | -- | ||
27 | 2.13.2 | ||
28 | |||