mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
sys-fs/xfsprogs: fix STATX__RESERVED musl build issue
Define STATX__RESERVED manually, similarly to how Alpine Linux [1]
solves the issue, as it was pointed out in [2].
Link: 8ff6aa1e45/main/xfsprogs/APKBUILD (L27) [1]
Link: https://lore.kernel.org/linux-xfs/20250809-musl-fixes-v1-0-d0958fffb1af@nixdorf.dev/ [2]
Closes: https://bugs.gentoo.org/960632
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
67230b9b63
commit
05f9e96a70
@ -58,9 +58,10 @@ src_configure() {
|
|||||||
# Avoid automagic on libdevmapper (bug #709694)
|
# Avoid automagic on libdevmapper (bug #709694)
|
||||||
export ac_cv_search_dm_task_create=no
|
export ac_cv_search_dm_task_create=no
|
||||||
|
|
||||||
# bug 903611, 948468
|
# bug 903611, 948468, 960632
|
||||||
use elibc_musl && \
|
use elibc_musl && \
|
||||||
append-flags -D_LARGEFILE64_SOURCE -DOVERRIDE_SYSTEM_STATX
|
append-flags -D_LARGEFILE64_SOURCE -DOVERRIDE_SYSTEM_STATX \
|
||||||
|
-DSTATX__RESERVED=0x80000000U
|
||||||
|
|
||||||
# Upstream does NOT support --disable-static anymore,
|
# Upstream does NOT support --disable-static anymore,
|
||||||
# https://www.spinics.net/lists/linux-xfs/msg30185.html
|
# https://www.spinics.net/lists/linux-xfs/msg30185.html
|
||||||
|
|||||||
@ -58,9 +58,10 @@ src_configure() {
|
|||||||
# Avoid automagic on libdevmapper (bug #709694)
|
# Avoid automagic on libdevmapper (bug #709694)
|
||||||
export ac_cv_search_dm_task_create=no
|
export ac_cv_search_dm_task_create=no
|
||||||
|
|
||||||
# bug 903611, 948468
|
# bug 903611, 948468, 960632
|
||||||
use elibc_musl && \
|
use elibc_musl && \
|
||||||
append-flags -D_LARGEFILE64_SOURCE -DOVERRIDE_SYSTEM_STATX
|
append-flags -D_LARGEFILE64_SOURCE -DOVERRIDE_SYSTEM_STATX \
|
||||||
|
-DSTATX__RESERVED=0x80000000U
|
||||||
|
|
||||||
# Upstream does NOT support --disable-static anymore,
|
# Upstream does NOT support --disable-static anymore,
|
||||||
# https://www.spinics.net/lists/linux-xfs/msg30185.html
|
# https://www.spinics.net/lists/linux-xfs/msg30185.html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user