aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2020-07-23 02:15:25 +0000
committerGreg Lewis <glewis@FreeBSD.org>2020-07-23 02:15:25 +0000
commitecb1055969dea5a6943e105ddc0850bfe62cae6b (patch)
treec168dc6fa7d86465f1d961832cd58f125429d37c /java
parentbb3c215827767bd998b157da982477f9274d1b14 (diff)
downloadports-ecb1055969dea5a6943e105ddc0850bfe62cae6b.tar.gz
ports-ecb1055969dea5a6943e105ddc0850bfe62cae6b.zip
Fix the build for PowerPC64
Submitted by: Curtis Hamilton
Notes
Notes: svn path=/head/; revision=542906
Diffstat (limited to 'java')
-rw-r--r--java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp14
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->
+