app-arch/cabextract: fix c23/musl

fix c23/musl removing bundled getopt.h

Closes: https://bugs.gentoo.org/956793
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44199
Closes: https://github.com/gentoo/gentoo/pull/44199
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2025-09-26 21:25:40 +02:00
committed by Sam James
parent 2e5c6a7c3d
commit d83253015f
2 changed files with 7 additions and 1 deletions

View File

@@ -45,6 +45,9 @@ src_prepare() {
default
# 956793, use getopt from glibc / musl instead
rm getopt.h || die
[[ ${PV} == "9999" ]] && eautoreconf
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,6 +45,9 @@ src_prepare() {
default
# 956793, use getopt from glibc / musl instead
rm getopt.h || die
[[ ${PV} == "9999" ]] && eautoreconf
}