From 78623a618d7e1130d8f0b1e1a7f1ca0050c78e7b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 23 Jan 2025 09:28:35 +0100 Subject: [PATCH] update to 17.0.14_6 [release 17.0.14_6-1mamba;Sat Jan 18 2025] --- ...17-17.0.14_6-fix-zlistnode-missing-header.patch | 10 ++++++++++ java-openjdk17.spec | 14 +++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 java-openjdk17-17.0.14_6-fix-zlistnode-missing-header.patch diff --git a/java-openjdk17-17.0.14_6-fix-zlistnode-missing-header.patch b/java-openjdk17-17.0.14_6-fix-zlistnode-missing-header.patch new file mode 100644 index 0000000..530a7dc --- /dev/null +++ b/java-openjdk17-17.0.14_6-fix-zlistnode-missing-header.patch @@ -0,0 +1,10 @@ +--- a/src/hotspot/share/gc/z/zPhysicalMemory.cpp ++++ b/src/hotspot/share/gc/z/zPhysicalMemory.cpp +@@ -27,6 +27,7 @@ + #include "gc/z/zArray.inline.hpp" + #include "gc/z/zGlobals.hpp" + #include "gc/z/zLargePages.inline.hpp" ++#include "gc/z/zList.inline.hpp" + #include "gc/z/zNUMA.inline.hpp" + #include "gc/z/zPhysicalMemory.inline.hpp" + #include "logging/log.hpp" diff --git a/java-openjdk17.spec b/java-openjdk17.spec index ebe250f..6e753cd 100644 --- a/java-openjdk17.spec +++ b/java-openjdk17.spec @@ -58,7 +58,7 @@ %define _jvmdir /usr/lib/jvm Name: java-openjdk17 -Version: 17.0.11_4 +Version: 17.0.14_6 Release: 1mamba Summary: OpenJDK Java %{javaver} environment Group: System/Libraries/Java @@ -70,6 +70,7 @@ Source: https://github.com/openjdk/jdk%{javaver}u/archive/refs/tags/jdk-% Source1: freedesktop-java.desktop Source2: freedesktop-jconsole.desktop Source3: freedesktop-jshell.desktop +Patch0: java-openjdk17-17.0.14_6-fix-zlistnode-missing-header.patch License: GPL (with exceptions) ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -83,7 +84,7 @@ BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgif-devel BuildRequires: libharfbuzz-devel -BuildRequires: libjpeg-devel +BuildRequires: libjpeg-turbo BuildRequires: liblcms2-devel BuildRequires: libpng-devel BuildRequires: libstdc++6-devel @@ -209,9 +210,12 @@ OpenJDK Java %{javaver} API documentation. # Don't clean build at the end %global __spec_rmbuild_cmd /bin/true +%define _lto_cflags %{nil} + %prep %setup -q -n jdk%{javaver}u-jdk-%{srcdirver} #-D -T +%patch 0 -p1 -b .fix-zlistnode-missing-header %build # Prevent use of ccache because is not supported @@ -266,7 +270,7 @@ cat jre.fileslist | grep -v -x -f nonheadless.fileslist > headless.fileslist # JDK install -d -m 755 %{buildroot}%{_jvmdir}/%{sdkdir} -cp -a jdk/{bin,demo,include,lib} %{buildroot}%{_jvmdir}/%{sdkdir} +cp -a jdk/{bin,demo,include,lib,release} %{buildroot}%{_jvmdir}/%{sdkdir} find %{buildroot} -type f | grep -v "\.debuginfo$" | sed "s|%{buildroot}||" | grep -v -x -f jre.fileslist > jdk.fileslist # Install cacerts symlink. @@ -440,6 +444,7 @@ fi %{_datadir}/applications/jshell-openjdk%{javaver}.desktop %{_datadir}/icons/hicolor/*/apps/java-openjdk%{javaver}.png %exclude %{_jvmdir}/%{sdkdir}/demo +%{_jvmdir}/%{sdkdir}/release %files headless -f %{buildoutputdir}/headless-man.fileslist %defattr(-,root,root) @@ -492,6 +497,9 @@ fi #%doc README %changelog +* Sat Jan 18 2025 Silvan Calarco 17.0.14_6-1mamba +- update to 17.0.14_6 + * Sat Feb 24 2024 Silvan Calarco 17.0.11_4-1mamba - update to 17.0.11_4