termux-packages/packages/ffmpeg/configure.patch
Fredrik Fornwall a5be048988 ffmpeg&libav: Remove custom strtod broken on arm
Defining a custom strtod on arm when using hard float breaks
since the function is marked in system headers as expecting a
soft abi. Hopefully strtod works on Android 5.0+ so the strtod
workaround is no longer needed.

Fixes #179.
2016-03-24 21:42:59 -04:00

20 lines
544 B
Diff

Avoid issue with strtod on arm:
https://github.com/termux/termux-packages/issues/179
diff -u -r ../ffmpeg-3.0/configure ./configure
--- ../ffmpeg-3.0/configure 2016-02-14 21:29:37.000000000 -0500
+++ ./configure 2016-03-24 20:44:33.472274113 -0400
@@ -4814,12 +4814,6 @@
probe_libc host_
test -n "$host_libc_type" && enable host_libc_$host_libc_type
-case $libc_type in
- bionic)
- add_compat strtod.o strtod=avpriv_strtod
- ;;
-esac
-
# hacks for compiler/libc/os combinations
if enabled_all tms470 libc_glibc; then