aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk8
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2018-12-08 18:43:56 +0000
committerGreg Lewis <glewis@FreeBSD.org>2018-12-08 18:43:56 +0000
commit37d69a8fea23cbd87b5b2c93db202d8cb34dfd6c (patch)
tree8332fb15b35a9f37211188ee4bbfabc39f06af11 /java/openjdk8
parent9154aa22150576b9789cc3b97cf8fe8723921eb2 (diff)
downloadports-37d69a8fea23cbd87b5b2c93db202d8cb34dfd6c.tar.gz
ports-37d69a8fea23cbd87b5b2c93db202d8cb34dfd6c.zip
Notes
Diffstat (limited to 'java/openjdk8')
-rw-r--r--java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp
new file mode 100644
index 000000000000..f5ab1641093c
--- /dev/null
+++ b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp
@@ -0,0 +1,17 @@
+--- hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp.orig
++++ hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp
+@@ -38,8 +38,13 @@
+ #ifdef TARGET_OS_FAMILY_linux
+ # include "os_linux.inline.hpp"
+ #endif
+-
++#ifdef TARGET_OS_FAMILY_bsd
++# include "os_bsd.inline.hpp"
++#endif
++
++#ifndef TARGET_OS_FAMILY_bsd
+ # include <sys/sysinfo.h>
++#endif
+
+ int VM_Version::_features = VM_Version::unknown_m;
+ int VM_Version::_measured_cache_line_size = 128; // default value