void-packages/srcpkgs/openjdk9-bootstrap/files/musl_004_ppc.patch
q66 e5f37001ed New package: openjdk9-bootstrap-9.0.4p12
This will be used to bootstrap openjdk10-bootstrap, which will
be used to bootstrap openjdk11. It is itself bootstrapped with
openjdk8.
2019-12-01 12:33:37 +01:00

22 lines
586 B
Diff

--- openjdk.orig/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp
+++ openjdk/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp
@@ -80,7 +80,7 @@
# include <pwd.h>
# include <poll.h>
# include <ucontext.h>
-
+# include <asm/ptrace.h>
address os::current_stack_pointer() {
intptr_t* csp;
--- openjdk.orig/hotspot.orig/src/cpu/ppc/vm/macroAssembler_ppc.cpp
+++ openjdk/hotspot/src/cpu/ppc/vm/macroAssembler_ppc.cpp
@@ -46,6 +46,8 @@
#include "gc_implementation/g1/heapRegion.hpp"
#endif
+#include <asm/ptrace.h>
+
#ifdef PRODUCT
#define BLOCK_COMMENT(str) // nothing
#else