diff options
author | Simon Frankenberger <simon@fraho.eu> | 2019-01-28 01:04:51 +0100 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-02 17:47:40 +0000 |
commit | 8a1ae17d4a9af54285c7891a680620e7e24c6280 (patch) | |
tree | 3aa29b4a6e8e14b20159fc999657b103ede8d7cd /testing/openjdk11/arm.patch | |
parent | 14c40dcb781fd8f358b5a36271c4d80545bcb241 (diff) | |
download | aports-8a1ae17d4a9af54285c7891a680620e7e24c6280.tar.bz2 aports-8a1ae17d4a9af54285c7891a680620e7e24c6280.tar.xz |
testing/openjdk11: New aport
Closes GH-7808
Diffstat (limited to 'testing/openjdk11/arm.patch')
-rw-r--r-- | testing/openjdk11/arm.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/openjdk11/arm.patch b/testing/openjdk11/arm.patch new file mode 100644 index 0000000000..b2be6b3f4d --- /dev/null +++ b/testing/openjdk11/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 +@@ -71,7 +71,6 @@ + # include <pwd.h> + # include <poll.h> + # include <ucontext.h> +-# include <fpu_control.h> + # include <asm/ptrace.h> + + #define SPELL_REG_SP "sp" +@@ -104,6 +103,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 |