termux-packages/packages/aria2/Makefile.am.patch

25 lines
690 B
Diff

diff -u -r ../aria2-1.19.3/src/Makefile.am ./src/Makefile.am
--- ../aria2-1.19.3/src/Makefile.am 2015-12-06 08:59:48.000000000 -0500
+++ ./src/Makefile.am 2015-12-17 09:25:37.002930095 -0500
@@ -275,20 +275,6 @@
SRCS += android/android.c
endif # ANDROID
-# Android NDK R8e does not provide ftruncate64. Use assembly code from
-# android source code and link it.
-if ANDROID_ARM
-SRCS += android/arm-ftruncate64.S
-endif # ANDROID_ARM
-
-if ANDROID_MIPS
-SRCS += android/mips-ftruncate64.S
-endif # ANDROID_MIPS
-
-if ANDROID_X86
-SRCS += android/x86-ftruncate64.S android/x86-asm.h
-endif # ANDROID_X86
-
if MINGW_BUILD
SRCS += WinConsoleFile.cc WinConsoleFile.h
endif # MINGW_BUILD