diff options
author | Simon Frankenberger <simon@fraho.eu> | 2019-06-02 21:54:02 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 17:27:50 +0000 |
commit | 309e323d10bf9a58a9da59eb60c09079a3c09a0a (patch) | |
tree | d0dd415cd1db358325c412013d94e23b1cada653 /community/openjdk10/arm.patch | |
parent | 6212920763e5e59a83b6d2654a92e258ab791ea0 (diff) | |
download | aports-309e323d10bf9a58a9da59eb60c09079a3c09a0a.tar.bz2 aports-309e323d10bf9a58a9da59eb60c09079a3c09a0a.tar.xz |
community/openjdk9-11: Move from testing
OpenJDK 9 and 10 may be removed once 11 is built.
Diffstat (limited to 'community/openjdk10/arm.patch')
-rw-r--r-- | community/openjdk10/arm.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/openjdk10/arm.patch b/community/openjdk10/arm.patch new file mode 100644 index 0000000000..e0f65348be --- /dev/null +++ b/community/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 |