diff options
author | Simon Frankenberger <simon@fraho.eu> | 2019-01-28 22:01:51 +0100 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-11 16:18:53 +0000 |
commit | 60fc00ff4cf84bb74c7ef84672c294f61aef1ab0 (patch) | |
tree | a8459565ef505b665a26b731b63de503208ada38 /testing/openjdk10/arm.patch | |
parent | aa586529deda3d628c67cf76854522aa8d81eeab (diff) | |
download | aports-60fc00ff4cf84bb74c7ef84672c294f61aef1ab0.tar.bz2 aports-60fc00ff4cf84bb74c7ef84672c294f61aef1ab0.tar.xz |
testing/openjdk10: New aport
Diffstat (limited to 'testing/openjdk10/arm.patch')
-rw-r--r-- | testing/openjdk10/arm.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/openjdk10/arm.patch b/testing/openjdk10/arm.patch new file mode 100644 index 0000000000..e0f65348be --- /dev/null +++ b/testing/openjdk10/arm.patch @@ -0,0 +1,29 @@ +--- old/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ++++ new/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp +@@ -70,7 +70,6 @@ + # include <pwd.h> + # include <poll.h> + # include <ucontext.h> +-# include <fpu_control.h> + # include <asm/ptrace.h> + + #define SPELL_REG_SP "sp" +@@ -103,6 +102,18 @@ + #define ARM_REGS_IN_CONTEXT 31 + + #else ++ ++// Stupid hack as the origin if below doesnt compile with gcc 8.2.0: ++// ++// os_linux_arm.cpp:114:5: error: missing binary operator before token "(" ++// #if NGREG == 16 ++// ^~~~~ ++// ++// The NGREG is 18, so force it to that value. ++#ifdef NGREG ++# undef NGREG ++#endif ++#define NGREG 18 + + #if NGREG == 16 + // These definitions are based on the observation that until |