diff options
author | Gonzalo Exequiel Pedone | 2024-03-19 01:41:37 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2024-03-19 01:41:37 -0300 |
commit | 14d2bccaa70b52e274fddc368fcca935736e53dd (patch) | |
tree | 8e6e8cb8a63b2701b87ccd75a078011a7997e128 /0003-Do-not-replace-ftell-and-fseek.patch | |
parent | b20a47d8d500c157c8d39e93a295b7159a76e2a1 (diff) | |
download | aur-android-armv7a-eabi-x264.tar.gz |
Package updated.
Diffstat (limited to '0003-Do-not-replace-ftell-and-fseek.patch')
-rw-r--r-- | 0003-Do-not-replace-ftell-and-fseek.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/0003-Do-not-replace-ftell-and-fseek.patch b/0003-Do-not-replace-ftell-and-fseek.patch new file mode 100644 index 000000000000..691514907a2c --- /dev/null +++ b/0003-Do-not-replace-ftell-and-fseek.patch @@ -0,0 +1,20 @@ +--- a/configure ++++ b/configure +@@ -1289,17 +1289,6 @@ + cc_check '' -fno-zero-initialized-in-bss && CFLAGS="$CFLAGS -fno-zero-initialized-in-bss" + fi + +-if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then +- define fseek fseeko +- define ftell ftello +-elif cc_check "stdio.h" "" "fseeko64(stdin,0,0);" ; then +- define fseek fseeko64 +- define ftell ftello64 +-elif cc_check "stdio.h" "" "_fseeki64(stdin,0,0);" ; then +- define fseek _fseeki64 +- define ftell _ftelli64 +-fi +- + if cc_check '' -Wshadow ; then + CFLAGS="-Wshadow $CFLAGS" + fi |