diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-03-03 17:50:12 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-03-03 17:50:12 +0100 |
commit | 5dd1d90f9d2e064ed0c85043264f09734a6a842a (patch) | |
tree | 73c32cd522864fad18e4f87303b83004ea643c9f /sys-fs/mdadm | |
parent | dev-java/openjdk: Apply musl-1.2.4 largefile workaround (diff) | |
download | gentoo-5dd1d90f9d2e064ed0c85043264f09734a6a842a.tar.gz gentoo-5dd1d90f9d2e064ed0c85043264f09734a6a842a.tar.bz2 gentoo-5dd1d90f9d2e064ed0c85043264f09734a6a842a.zip |
sys-fs/mdadm: Apply musl-1.2.4 largefile workaround
Bug: https://bugs.gentoo.org/907082
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r-- | sys-fs/mdadm/mdadm-4.2-r2.ebuild | 5 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-4.2-r3.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-fs/mdadm/mdadm-4.2-r2.ebuild b/sys-fs/mdadm/mdadm-4.2-r2.ebuild index 9dc8510225da..99bbc83b039d 100644 --- a/sys-fs/mdadm/mdadm-4.2-r2.ebuild +++ b/sys-fs/mdadm/mdadm-4.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -60,6 +60,9 @@ src_compile() { # CPPFLAGS won't work for this use udev || append-cflags -DNO_LIBUDEV + # bug 907082 + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + mdadm_emake all } diff --git a/sys-fs/mdadm/mdadm-4.2-r3.ebuild b/sys-fs/mdadm/mdadm-4.2-r3.ebuild index 176f5e80c06c..35a62d211b39 100644 --- a/sys-fs/mdadm/mdadm-4.2-r3.ebuild +++ b/sys-fs/mdadm/mdadm-4.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -61,6 +61,9 @@ src_compile() { # CPPFLAGS won't work for this use udev || append-cflags -DNO_LIBUDEV + # bug 907082 + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + mdadm_emake all } |