commit:     d83253015f0d7092e8e8fd654cd1e294dcec9faf
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Fri Sep 26 19:25:40 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 13:17:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8325301

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 <AT> 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 <AT> gentoo.org>

 app-arch/cabextract/cabextract-1.11.ebuild | 3 +++
 app-arch/cabextract/cabextract-9999.ebuild | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-arch/cabextract/cabextract-1.11.ebuild 
b/app-arch/cabextract/cabextract-1.11.ebuild
index f781320280ec..4d8fd90b35a7 100644
--- a/app-arch/cabextract/cabextract-1.11.ebuild
+++ b/app-arch/cabextract/cabextract-1.11.ebuild
@@ -45,6 +45,9 @@ src_prepare() {
 
        default
 
+       # 956793, use getopt from glibc / musl instead
+       rm getopt.h || die
+
        [[ ${PV} == "9999" ]] && eautoreconf
 }
 

diff --git a/app-arch/cabextract/cabextract-9999.ebuild 
b/app-arch/cabextract/cabextract-9999.ebuild
index 31c4bfad22f5..f68fed728a5f 100644
--- a/app-arch/cabextract/cabextract-9999.ebuild
+++ b/app-arch/cabextract/cabextract-9999.ebuild
@@ -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
 }
 

Reply via email to