aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk11
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2019-09-20 02:26:34 +0000
committerGreg Lewis <glewis@FreeBSD.org>2019-09-20 02:26:34 +0000
commitd804e77edf2cddc39c02cb6470c4f48837244f2f (patch)
tree53fe7ec37a1b02da5ed1cc5a2c3d5a6866093720 /java/openjdk11
parent27157a10a0854f0be87fe2aa1dd1b92723d63814 (diff)
downloadports-d804e77edf2cddc39c02cb6470c4f48837244f2f.tar.gz
ports-d804e77edf2cddc39c02cb6470c4f48837244f2f.zip
Notes
Diffstat (limited to 'java/openjdk11')
-rw-r--r--java/openjdk11/Makefile7
-rw-r--r--java/openjdk11/distinfo6
-rw-r--r--java/openjdk11/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp13
-rw-r--r--java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__aarch64_vm__version__bsd__aarch64.cpp61
-rw-r--r--java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp12
-rw-r--r--java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c12
6 files changed, 6 insertions, 105 deletions
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 480d0d62ed77..f15a592d5447 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -3,7 +3,6 @@
PORTNAME= openjdk
DISTVERSIONPREFIX= jdk-
DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
-PORTREVISION= 1
CATEGORIES= java devel
PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
@@ -55,9 +54,9 @@ NOPRECIOUSMAKEVARS= yes
JDK_MAJOR_VERSION= 11
JDK_MINOR_VERSION= 0
-JDK_PATCH_VERSION= 4
-JDK_BUILD_NUMBER= 11
-BSD_JDK_VERSION= 2
+JDK_PATCH_VERSION= 5
+JDK_BUILD_NUMBER= 8
+BSD_JDK_VERSION= 1
GNU_CONFIGURE= yes
CONFIGURE_ENV= CC=${CC} \
diff --git a/java/openjdk11/distinfo b/java/openjdk11/distinfo
index 64fe3b2cc8b0..c388b2bbbba0 100644
--- a/java/openjdk11/distinfo
+++ b/java/openjdk11/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565662004
-SHA256 (battleblow-openjdk-jdk11u-jdk-11.0.4+11-2_GH0.tar.gz) = 15fdeeea8d716620ab78a44e66edf88eeb7707a9b7b389304f2ba6fd39d5fa36
-SIZE (battleblow-openjdk-jdk11u-jdk-11.0.4+11-2_GH0.tar.gz) = 117004198
+TIMESTAMP = 1568931491
+SHA256 (battleblow-openjdk-jdk11u-jdk-11.0.5+8-1_GH0.tar.gz) = f6391881a3739570fd29c64a4ad958061d983f96a69267a8c247ff87421774a7
+SIZE (battleblow-openjdk-jdk11u-jdk-11.0.5+8-1_GH0.tar.gz) = 117115267
diff --git a/java/openjdk11/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp b/java/openjdk11/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp
deleted file mode 100644
index 43d30609a667..000000000000
--- a/java/openjdk11/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
-+++ src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
-@@ -45,6 +45,10 @@
- #define getauxval(hwcap) 0
- #endif
-
-+#ifndef HWCAP_ASIMD
-+#define HWCAP_ASIMD (1<<1)
-+#endif
-+
- #ifndef HWCAP_AES
- #define HWCAP_AES (1<<3)
- #endif
diff --git a/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__aarch64_vm__version__bsd__aarch64.cpp b/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__aarch64_vm__version__bsd__aarch64.cpp
deleted file mode 100644
index 49ccc99bb889..000000000000
--- a/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__aarch64_vm__version__bsd__aarch64.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
---- src/hotspot/os_cpu/bsd_aarch64/vm_version_bsd_aarch64.cpp
-+++ src/hotspot/os_cpu/bsd_aarch64/vm_version_bsd_aarch64.cpp
-@@ -32,6 +32,50 @@
- #include <machine/elf.h>
- #endif
-
-+#ifndef HWCAP_ASIMD
-+#define HWCAP_ASIMD (1<<1)
-+#endif
-+
-+#ifndef HWCAP_AES
-+#define HWCAP_AES (1<<3)
-+#endif
-+
-+#ifndef HWCAP_PMULL
-+#define HWCAP_PMULL (1<<4)
-+#endif
-+
-+#ifndef HWCAP_SHA1
-+#define HWCAP_SHA1 (1<<5)
-+#endif
-+
-+#ifndef HWCAP_SHA2
-+#define HWCAP_SHA2 (1<<6)
-+#endif
-+
-+#ifndef HWCAP_CRC32
-+#define HWCAP_CRC32 (1<<7)
-+#endif
-+
-+#ifndef HWCAP_ATOMICS
-+#define HWCAP_ATOMICS (1<<8)
-+#endif
-+
-+#ifndef ID_AA64PFR0_AdvSIMD_SHIFT
-+#define ID_AA64PFR0_AdvSIMD_SHIFT 20
-+#endif
-+
-+#ifndef ID_AA64PFR0_AdvSIMD
-+#define ID_AA64PFR0_AdvSIMD(x) ((x) & (UL(0xf) << ID_AA64PFR0_AdvSIMD_SHIFT))
-+#endif
-+
-+#ifndef ID_AA64PFR0_AdvSIMD_IMPL
-+#define ID_AA64PFR0_AdvSIMD_IMPL (UL(0x0) << ID_AA64PFR0_AdvSIMD_SHIFT)
-+#endif
-+
-+#ifndef ID_AA64PFR0_AdvSIMD_HP
-+#define ID_AA64PFR0_AdvSIMD_HP (UL(0x1) << ID_AA64PFR0_AdvSIMD_SHIFT)
-+#endif
-+
- #define CPU_IMPL_ARM 0x41
- #define CPU_IMPL_BROADCOM 0x42
- #define CPU_IMPL_CAVIUM 0x43
-@@ -113,6 +157,7 @@
- #define CPU_PART(midr) (((midr) >> 4) & 0xfff)
- #define CPU_VAR(midr) (((midr) >> 20) & 0xf)
- #define CPU_REV(midr) (((midr) >> 0) & 0xf)
-+#define UL(x) UINT64_C(x)
-
- struct cpu_desc {
- u_int cpu_impl;
diff --git a/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp b/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp
deleted file mode 100644
index 701059058259..000000000000
--- a/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp
-+++ src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp
-@@ -510,6 +510,9 @@ JVM_handle_bsd_signal(int sig,
- // Handle ALL stack overflow variations here
- if (sig == SIGSEGV || sig == SIGBUS) {
- address addr = (address) info->si_addr;
-+#ifdef __FreeBSD__
-+ addr = align_down(addr, os::vm_page_size());
-+#endif
-
- // check if fault address is within thread stack
- if (thread->on_local_stack(addr)) {
diff --git a/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c b/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c
deleted file mode 100644
index 545081d1f3f0..000000000000
--- a/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_ps__proc.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/jdk.hotspot.agent/bsd/native/libsaproc/ps_proc.c
-+++ src/jdk.hotspot.agent/bsd/native/libsaproc/ps_proc.c
-@@ -27,8 +27,8 @@
- #include <stdlib.h>
- #include <string.h>
- #include <errno.h>
--#include <sys/sysctl.h>
- #include <sys/types.h>
-+#include <sys/sysctl.h>
- #include <sys/wait.h>
- #include <sys/ptrace.h>
- #include <sys/param.h>