[packages/openjdk23] Try to fix x32

arekm arekm at pld-linux.org
Tue Mar 10 12:50:57 CET 2026


commit 1ad791cc54598ea3509d82a845b851f57d6fff47
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 10 12:50:53 2026 +0100

    Try to fix x32

 openjdk23.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/openjdk23.spec b/openjdk23.spec
index 4d69e04..31cc1cc 100644
--- a/openjdk23.spec
+++ b/openjdk23.spec
@@ -7,6 +7,10 @@
 %define		use_jdk	openjdk23
 %endif
 
+%ifarch x32
+%define		with_zero	1
+%endif
+
 %ifarch %{ix86} %{x8664} aarch64
 %define		with_shenandoahgc	1
 %endif
@@ -30,6 +34,7 @@ Source0:	https://github.com/openjdk/jdk23u/archive/jdk-%{version}-ga/%{name}-%{v
 Source10:	make-cacerts.sh
 Patch0:		no_optflags.patch
 Patch1:		no_optflags_vardeps.patch
+Patch2:		x32.patch
 URL:		http://openjdk.java.net/
 BuildRequires:	/usr/bin/jar
 BuildRequires:	alsa-lib-devel
@@ -343,6 +348,7 @@ Przykłady dla OpenJDK.
 # Rename uabs to g_uabs to avoid conflict with glibc uabs (GCC 15+)
 find src/hotspot -name "*.hpp" -o -name "*.cpp" | xargs %{__sed} -i 's/\buabs\b/g_uabs/g'
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 # Make sure we have /proc mounted - otherwise idlc will fail later.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk23.git/commitdiff/1ad791cc54598ea3509d82a845b851f57d6fff47



More information about the pld-cvs-commit mailing list