dev-db/mariadb: apply musl largefile workaround

fix many errors like bellow if USE="extraengine":

> mysql/storage/connect/filamfix.cpp:698:7: error: use of undeclared identifier 'lseek64'; did you mean 'lseek'?

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41891
Closes: https://github.com/gentoo/gentoo/pull/41891
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu
2025-05-02 09:59:56 +08:00
committed by Sam James
parent 1bc387b458
commit d20b794194
8 changed files with 16 additions and 0 deletions

View File

@@ -299,6 +299,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -290,6 +290,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -299,6 +299,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -301,6 +301,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -301,6 +301,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -301,6 +301,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -294,6 +294,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"

View File

@@ -285,6 +285,8 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"