From 1471f1789e002b0381d0df9dec09581c2a9866b1 Mon Sep 17 00:00:00 2001 From: André Draszik Date: Mon, 13 Aug 2018 11:09:32 +0100 Subject: openjdk-8: gcc-8 fix #1: backport patch to fix misuses of strncpy/strncat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original approach doesn't work with all compilers, as not all compilers support the flag used to suppress the warnings / errors. This patch here avoids passing unsupported compiler options into older compilers, and at the same time fixes the bugs, rather than just silencing the compiler. Signed-off-by: André Draszik Signed-off-by: Richard Leitner --- recipes-core/openjdk/openjdk-8-release-16xbyy.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-core/openjdk/openjdk-8-release-16xbyy.inc') diff --git a/recipes-core/openjdk/openjdk-8-release-16xbyy.inc b/recipes-core/openjdk/openjdk-8-release-16xbyy.inc index 36ce073..bd440c6 100644 --- a/recipes-core/openjdk/openjdk-8-release-16xbyy.inc +++ b/recipes-core/openjdk/openjdk-8-release-16xbyy.inc @@ -17,6 +17,7 @@ PATCHES_URI = "\ file://0009-jdk-disable-backtrace-musl-build-fix.patch \ file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \ file://hotspot_fix_gcc8x_build.patch \ + file://0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch \ " # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch # reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html -- cgit v1.2.3-54-g00ecf