diff options
author | glewis <glewis@FreeBSD.org> | 2018-12-09 02:43:56 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2018-12-09 02:43:56 +0800 |
commit | 077169f1f32b93c6a6d83e81cce272805aa8422c (patch) | |
tree | 8332fb15b35a9f37211188ee4bbfabc39f06af11 | |
parent | 9a41b2a7281d3fa6e76d2ed4c1a91594122d4a9e (diff) | |
download | freebsd-ports-gnome-077169f1f32b93c6a6d83e81cce272805aa8422c.tar.gz freebsd-ports-gnome-077169f1f32b93c6a6d83e81cce272805aa8422c.tar.zst freebsd-ports-gnome-077169f1f32b93c6a6d83e81cce272805aa8422c.zip |
. Fix compilation on powerpc64
PR: 223834
Submitted by: Curtis Hamilton <hamiltcl@verizon.net>
-rw-r--r-- | java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp | 17 |
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 |