aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sox/sox
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sox/sox')
-rw-r--r--packages/sox/sox/.mtn2git_empty0
-rw-r--r--packages/sox/sox/uclibc-fixes.patch35
2 files changed, 35 insertions, 0 deletions
diff --git a/packages/sox/sox/.mtn2git_empty b/packages/sox/sox/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/sox/sox/.mtn2git_empty
diff --git a/packages/sox/sox/uclibc-fixes.patch b/packages/sox/sox/uclibc-fixes.patch
index e69de29bb2..7344d90aa3 100644
--- a/packages/sox/sox/uclibc-fixes.patch
+++ b/packages/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