spandsp: import from oldpackages
[feed/telephony.git] / libs / spandsp / patches / 100-compile-fixes.patch
1 --- a/src/spandsp/fast_convert.h
2 +++ b/src/spandsp/fast_convert.h
3 @@ -195,7 +195,7 @@ extern "C"
4 {
5 return (long int) (x);
6 }
7 -#elif defined(__ppc__) || defined(__powerpc__)
8 +#elif defined(THISISNOTDEFINEDYADDAYADDA)
9 static __inline__ long int lfastrint(register double x)
10 {
11 int res[2];
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -152,9 +152,7 @@ AC_ARG_ENABLE(builtin_tiff,
15
16 AC_FUNC_ERROR_AT_LINE
17 AC_FUNC_VPRINTF
18 -AC_FUNC_MALLOC
19 AC_FUNC_MEMCMP
20 -AC_FUNC_REALLOC
21 AC_FUNC_SELECT_ARGTYPES
22
23 AX_C99_FUNC_LRINT