diff options
Diffstat (limited to 'recipes/sox/sox/uclibc-fixes.patch')
-rw-r--r-- | recipes/sox/sox/uclibc-fixes.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/sox/sox/uclibc-fixes.patch b/recipes/sox/sox/uclibc-fixes.patch new file mode 100644 index 0000000000..7344d90aa3 --- /dev/null +++ b/recipes/sox/sox/uclibc-fixes.patch @@ -0,0 +1,35 @@ +--- sox-12.17.5/vol.c 2001-11-22 20:42:57.000000000 -0700 ++++ sox-12.17.5.new/vol.c 2004-09-30 16:42:47.211148824 -0700 +@@ -15,8 +15,8 @@ + /* type used for computations. + */ + #ifndef VOL_FLOAT +-#define VOL_FLOAT float +-#define VOL_FLOAT_SCAN "%f" ++#define VOL_FLOAT double ++#define VOL_FLOAT_SCAN "%lf" + #endif + + /* constants +--- sox-12.17.5/configure.in 2004-08-06 16:08:20.000000000 -0700 ++++ sox-12.17.5.new/configure.in 2004-09-30 15:37:54.286963256 -0700 +@@ -273,7 +273,7 @@ + dnl Generate output files... + + AC_CONFIG_HEADER(stconfig.h) +-AC_CREATE_STDINT_H(ststdint.h) ++dnl AX_CREATE_STDINT_H(ststdint.h) + + AC_CONFIG_FILES([libst-config Makefile gsm/Makefile]) + AC_CONFIG_FILES([play], [chmod +x play]) +--- sox-12.17.5/st.h 2004-07-30 19:01:50.000000000 -0700 ++++ sox-12.17.5.new/st.h 2004-09-30 15:40:06.405878128 -0700 +@@ -17,7 +17,7 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include "ststdint.h" ++#include <stdint.h> + + /* Release 12.17.5 of libst */ + #define ST_LIB_VERSION_CODE 0x0c1105 |