From d8422ed33a957db3439be1e36bee4ed455c6f50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Sun, 3 Mar 2024 17:45:22 +0100 Subject: [PATCH] dev-java/openjdk: Apply musl-1.2.4 largefile workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/906987 Signed-off-by: Andreas K. Hüttel --- dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild | 3 +++ dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild | 3 +++ dev-java/openjdk/openjdk-21.0.1_p12.ebuild | 3 +++ 3 files changed, 9 insertions(+) diff --git a/dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild b/dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild index 36fec8b7b3024..e05303dde86e9 100644 --- a/dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild +++ b/dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild @@ -167,6 +167,9 @@ src_configure() { # Work around stack alignment issue, bug #647954. use x86 && append-flags -mincoming-stack-boundary=2 + # bug 906987; append-cppflags doesnt work + use elibc_musl && append-flags -D_LARGEFILE64_SOURCE + # Work around -fno-common ( GCC10 default ), bug #713180 append-flags -fcommon diff --git a/dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild b/dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild index 3f1d61a220af1..b7024ebb2a6be 100644 --- a/dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild +++ b/dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild @@ -185,6 +185,9 @@ src_configure() { # Work around stack alignment issue, bug #647954. in case we ever have x86 use x86 && append-flags -mincoming-stack-boundary=2 + # bug 906987; append-cppflags doesnt work + use elibc_musl && append-flags -D_LARGEFILE64_SOURCE + # Work around -fno-common ( GCC10 default ), bug #713180 append-flags -fcommon diff --git a/dev-java/openjdk/openjdk-21.0.1_p12.ebuild b/dev-java/openjdk/openjdk-21.0.1_p12.ebuild index df6a3e6a4ed3d..7ba18116be899 100644 --- a/dev-java/openjdk/openjdk-21.0.1_p12.ebuild +++ b/dev-java/openjdk/openjdk-21.0.1_p12.ebuild @@ -178,6 +178,9 @@ src_configure() { # Work around stack alignment issue, bug #647954. in case we ever have x86 use x86 && append-flags -mincoming-stack-boundary=2 + # bug 906987; append-cppflags doesnt work + use elibc_musl && append-flags -D_LARGEFILE64_SOURCE + # Work around -fno-common ( GCC10 default ), bug #713180 append-flags -fcommon