summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-03 17:45:22 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-03 17:45:57 +0100
commitd8422ed33a957db3439be1e36bee4ed455c6f50f (patch)
treebe61e7ee9aebb2a5f5ffa29afa9f0fecb4c786b5 /dev-java/openjdk
parentdev-libs/plasma-wayland-protocols: Use cmake instead of ecm.eclass (diff)
downloadgentoo-d8422ed33a957db3439be1e36bee4ed455c6f50f.tar.gz
gentoo-d8422ed33a957db3439be1e36bee4ed455c6f50f.tar.bz2
gentoo-d8422ed33a957db3439be1e36bee4ed455c6f50f.zip
dev-java/openjdk: Apply musl-1.2.4 largefile workaround
Bug: https://bugs.gentoo.org/906987 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-java/openjdk')
-rw-r--r--dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-21.0.1_p12.ebuild3
3 files changed, 9 insertions, 0 deletions
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 36fec8b7b302..e05303dde86e 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 3f1d61a220af..b7024ebb2a6b 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 df6a3e6a4ed3..7ba18116be89 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