summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
diff options
context:
space:
mode:
authorGeoff Parker <geoffrey.parker@arthrex.com>2023-05-01 19:26:20 -0700
committerRichard <g0hl1n@users.noreply.github.com>2023-05-02 09:02:27 +0200
commitbf6ae1dac46dc9894f206c7f81570548dbf6785c (patch)
tree6cffa5a73f21963c52034d5dc5f66f8d935e3d96 /recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
parente122acf3e9570ceb055e55feb41e5558463253e4 (diff)
downloadmeta-java-bf6ae1dac46dc9894f206c7f81570548dbf6785c.tar.gz
openjdk-8: Update patches for patch fuzz for Yocto 4.2 mickledore
Yocto 4.2 bitbake is more pedantic on patch fuzz, which treats patch fuzz Warnings as Errors, and fails the bulid. Corrected patch fuzz with: devtool modify openjdk-8-native devtool finish --force-patch-refresh openjdk-8-native <meta-java layer_path> but removed the changes to 1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch which rewrote a huge amount of source files in their entirety for some reason. Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
index aeeba6b..1ad8351 100644
--- a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
+++ b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
@@ -1,7 +1,7 @@
1From 37b5885e35a7974bbd8895ae9a7e9ec7ebf9dc68 Mon Sep 17 00:00:00 2001 1From 2303926f157f8c90cef167c43bd530793c19e480 Mon Sep 17 00:00:00 2001
2From: Richard Leitner <richard.leitner@skidata.com> 2From: Richard Leitner <richard.leitner@skidata.com>
3Date: Thu, 20 Aug 2020 09:39:23 +0200 3Date: Thu, 20 Aug 2020 09:39:23 +0200
4Subject: [PATCH 1012/1013] hotspot: enable -Wno-error 4Subject: [PATCH] hotspot: enable -Wno-error
5 5
6As we don't want to deal with compiler warnings in OpenEmbedded disable 6As we don't want to deal with compiler warnings in OpenEmbedded disable
7them for now. 7them for now.
@@ -9,15 +9,16 @@ them for now.
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Richard Leitner <richard.leitner@skidata.com> 11Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
12
12--- 13---
13 make/linux/makefiles/gcc.make | 4 ++-- 14 hotspot/make/linux/makefiles/gcc.make | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-) 15 1 file changed, 2 insertions(+), 2 deletions(-)
15 16
16diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make 17diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make
17index 7a5162a06..67607fb26 100644 18index cd9511e5..94412c8f 100644
18--- a/hotspot/make/linux/makefiles/gcc.make 19--- a/hotspot/make/linux/makefiles/gcc.make
19+++ b/hotspot/make/linux/makefiles/gcc.make 20+++ b/hotspot/make/linux/makefiles/gcc.make
20@@ -201,8 +201,8 @@ else 21@@ -200,8 +200,8 @@ else
21 CFLAGS += -pipe 22 CFLAGS += -pipe
22 endif 23 endif
23 24
@@ -28,6 +29,3 @@ index 7a5162a06..67607fb26 100644
28 29
29 ifeq ($(USE_CLANG), true) 30 ifeq ($(USE_CLANG), true)
30 # However we need to clean the code up before we can unrestrictedly enable this option with Clang 31 # However we need to clean the code up before we can unrestrictedly enable this option with Clang
31--
322.26.2
33