aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk8/icedtea-hotspot-musl.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-30 10:54:11 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-30 22:36:22 +0200
commitc2feaec95728b199572d440eab3da260aedcc98c (patch)
treec53238622f5cd1c8d22b7fc6c1c3d1f3e0fb731b /community/openjdk8/icedtea-hotspot-musl.patch
parenta45e55b728be5fc0f4cd90f30171958f168f2343 (diff)
downloadaports-c2feaec95728b199572d440eab3da260aedcc98c.tar.bz2
aports-c2feaec95728b199572d440eab3da260aedcc98c.tar.xz
community/openjdk8: fix build on aarch64
Diffstat (limited to 'community/openjdk8/icedtea-hotspot-musl.patch')
-rw-r--r--community/openjdk8/icedtea-hotspot-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/openjdk8/icedtea-hotspot-musl.patch b/community/openjdk8/icedtea-hotspot-musl.patch
index 41072defe2..af64b27c03 100644
--- a/community/openjdk8/icedtea-hotspot-musl.patch
+++ b/community/openjdk8/icedtea-hotspot-musl.patch
@@ -53,3 +53,14 @@
static Thread* _sp_map[1UL << (SP_BITLENGTH - PAGE_SHIFT)];
public:
+--- openjdk.orig/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
++++ openjdk/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
+@@ -75,7 +75,7 @@
+ # include <pwd.h>
+ # include <poll.h>
+ # include <ucontext.h>
+-# include <fpu_control.h>
++# include <linux/types.h> /* provides __u64 */
+
+ #ifdef BUILTIN_SIM
+ #define REG_SP REG_RSP