termux-packages/disabled-packages/openjdk-9-jre-headless/elfFile.hpp.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
405 B
Diff

--- ./hotspot/src/share/vm/utilities/elfFile.hpp 2017-05-12 23:47:58.000000000 +0530
+++ ../elfFile.hpp 2017-05-14 12:27:21.069572447 +0530
@@ -50,7 +50,7 @@
typedef Elf64_Phdr Elf_Phdr;
typedef Elf64_Sym Elf_Sym;
-#if !defined(_ALLBSD_SOURCE) || defined(__APPLE__)
+#if (!defined(_ALLBSD_SOURCE) || defined(__APPLE__)) && !defined(__ANDROID__)
#define ELF_ST_TYPE ELF64_ST_TYPE
#endif