Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 05:15:44 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565202 - head/java/openjdk13/files
Message-ID:  <202102140515.11E5FinL060494@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102140515.11E5FinL060494>