packages/libs/spandsp/patches/100-compile-fixes.patch

24 lines
549 B
Diff
Raw Normal View History

--- a/src/spandsp/fast_convert.h
+++ b/src/spandsp/fast_convert.h
@@ -197,7 +197,7 @@ extern "C"
{
return (long int) (x);
}
-#elif defined(__ppc__) || defined(__powerpc__)
+#elif defined(THISISNOTDEFINEDYADDAYADDA)
static __inline__ long int lfastrint(register double x)
{
int res[2];
--- a/configure.ac
+++ b/configure.ac
@@ -152,9 +152,7 @@ AC_ARG_ENABLE(builtin_tiff,
AC_FUNC_ERROR_AT_LINE
AC_FUNC_VPRINTF
-AC_FUNC_MALLOC
AC_FUNC_MEMCMP
-AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
AX_C99_FUNC_LRINT