1 |
aballier 13/02/23 13:12:09 |
2 |
|
3 |
Added: sox-14.4.1-uclibc.patch |
4 |
Log: |
5 |
version bump |
6 |
|
7 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-sound/sox/files/sox-14.4.1-uclibc.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/sox/files/sox-14.4.1-uclibc.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/sox/files/sox-14.4.1-uclibc.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: sox-14.4.1-uclibc.patch |
16 |
=================================================================== |
17 |
Index: sox-14.4.1/src/formats.c |
18 |
=================================================================== |
19 |
--- sox-14.4.1.orig/src/formats.c |
20 |
+++ sox-14.4.1/src/formats.c |
21 |
@@ -409,7 +409,7 @@ static void UNUSED rewind_pipe(FILE * fp |
22 |
#if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__ |
23 |
fp->_p -= PIPE_AUTO_DETECT_SIZE; |
24 |
fp->_r += PIPE_AUTO_DETECT_SIZE; |
25 |
-#elif defined __GLIBC__ |
26 |
+#elif defined __GLIBC__ && ! defined __UCLIBC__ |
27 |
fp->_IO_read_ptr = fp->_IO_read_base; |
28 |
#elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || defined _ISO_STDIO_ISO_H |
29 |
fp->_ptr = fp->_base; |
30 |
@@ -417,7 +417,6 @@ static void UNUSED rewind_pipe(FILE * fp |
31 |
/* To fix this #error, either simply remove the #error line and live without |
32 |
* file-type detection with pipes, or add support for your compiler in the |
33 |
* lines above. Test with cat monkey.wav | ./sox --info - */ |
34 |
- #error FIX NEEDED HERE |
35 |
#define NO_REWIND_PIPE |
36 |
(void)fp; |
37 |
#endif |