summaryrefslogtreecommitdiffstats
path: root/packages/sox/sox/uclibc-fixes.patch
blob: 7344d90aa3e49f1d25d7522b18b0df623876f62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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