termux-packages/disabled-packages/openjdk-9-jre-headless/sendfile64.patch
Vishal Biswas 76532e4393 some disabled package updates (#1018)
* openvpn: update from 2.4.2 to 2.4.1

* openjdk: update to tag 168 (aarch64 does not build)

* openjdk: remove unused patch
2017-05-15 15:27:45 +02:00

12 lines
394 B
Diff

--- ./jdk/src/java.base/unix/native/libnio/ch/FileChannelImpl.c 2017-05-12 23:48:01.000000000 +0530
+++ ../FileChannelImpl.c 2017-05-14 22:51:02.292589382 +0530
@@ -41,8 +41,6 @@
#include <sys/sendfile.h>
#ifdef __ANDROID__
#define mmap64 mmap
-#include <sys/syscall.h>
-#define sendfile64(a,b,c,d) syscall(__NR_sendfile64, a, b, c, d);
#endif
#elif defined(_AIX)
#include <sys/socket.h>