Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 406594 Details for
Bug 554620
media-sound/sox-14.4.2 : build fix for sys-libs/uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sox-14.4.2-uclibc.patch
sox-14.4.2-uclibc.patch (text/plain), 1.35 KB, created by
René Rhéaume
on 2015-07-12 12:30:39 UTC
(
hide
)
Description:
sox-14.4.2-uclibc.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2015-07-12 12:30:39 UTC
Size:
1.35 KB
patch
obsolete
>--- sox-14.4.2/src/effects_i_dsp.c >+++ sox-14.4.2-uclibc/src/effects_i_dsp.c >@@ -562,6 +562,7 @@ void lsx_plot_fir(double * h, int num_po > } > } > >+#ifndef __UCLIBC__ > #if HAVE_FENV_H > #include <fenv.h> > #if defined FE_INVALID >@@ -577,6 +578,7 @@ void lsx_plot_fir(double * h, int num_po > #endif > #endif > #endif >+#endif > > #if defined lrint32 > #define _ dest[i] = lrint32(src[i]), ++i, >--- sox-14.4.2/src/formats.c >+++ sox-14.4.2-uclibc/src/formats.c >@@ -413,7 +413,7 @@ static void UNUSED rewind_pipe(FILE * fp > #if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__ > fp->_p -= PIPE_AUTO_DETECT_SIZE; > fp->_r += PIPE_AUTO_DETECT_SIZE; >-#elif defined __GLIBC__ >+#elif defined __GLIBC__ && ! defined __UCLIBC__ > fp->_IO_read_ptr = fp->_IO_read_base; > #elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || \ > defined _ISO_STDIO_ISO_H || defined __sgi >@@ -422,7 +422,13 @@ 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 >+ #ifdef __UCLIBC__ >+ #ifdef __GNUC__ >+ #warning FIX NEEDED HERE >+ #endif >+ #else >+ #error FIX NEEDED HERE >+ #endif > #define NO_REWIND_PIPE > (void)fp; > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 554620
: 406594 |
406596