diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2020-07-23 02:15:25 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2020-07-23 02:15:25 +0000 |
commit | ecb1055969dea5a6943e105ddc0850bfe62cae6b (patch) | |
tree | c168dc6fa7d86465f1d961832cd58f125429d37c /java/openjdk8 | |
parent | converters/wkhtmltopdf: update 0.12.5 -> 0.12.6, fix build (diff) |
Fix the build for PowerPC64
Submitted by: Curtis Hamilton
Notes
Notes:
svn path=/head/; revision=542906
Diffstat (limited to 'java/openjdk8')
-rw-r--r-- | java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp new file mode 100644 index 000000000000..4db3d23c4dec --- /dev/null +++ b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp @@ -0,0 +1,14 @@ +--- hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp ++++ hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp +@@ -42,7 +42,11 @@ + #include "opto/runtime.hpp" + #endif + ++#ifdef _ALLBSD_SOURCE ++#include <stdlib.h> ++#else + #include <alloca.h> ++#endif + + #define __ masm-> + |