svn commit: r565202 - head/java/openjdk13/files

Greg Lewis glewis at FreeBSD.org
Sun Feb 14 05:15:45 UTC 2021


Author: glewis
Date: Sun Feb 14 05:15:44 2021
New Revision: 565202
URL: https://svnweb.freebsd.org/changeset/ports/565202

Log:
  Fix the build on aarch64

Added:
  head/java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp   (contents, props changed)

Added: head/java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp	Sun Feb 14 05:15:44 2021	(r565202)
@@ -0,0 +1,15 @@
+--- src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
++++ src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
+@@ -34,8 +34,12 @@
+ 
+ #include OS_HEADER_INLINE(os)
+ 
++#if defined(__linux__)
+ #include <sys/auxv.h>
+ #include <asm/hwcap.h>
++#elif defined(__FreeBSD__)
++#include <machine/elf.h>
++#endif
+ 
+ #ifndef HWCAP_ASIMD
+ #define HWCAP_ASIMD (1<<1)


More information about the svn-ports-all mailing list