commit: 6408827516c5afef669e079322efdb8fd48cba62
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 19:54:02 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 19:54:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64088275
dev-vcs/git-2.51.2-r2: fix build on Solaris
Enable extensions such that things like memmem are available to make the
build succeed.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
dev-vcs/git/git-2.51.2-r2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-vcs/git/git-2.51.2-r2.ebuild b/dev-vcs/git/git-2.51.2-r2.ebuild
index a063ebf119e5..515d4b31bb3a 100644
--- a/dev-vcs/git/git-2.51.2-r2.ebuild
+++ b/dev-vcs/git/git-2.51.2-r2.ebuild
@@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no
# bug #329479: git-remote-testgit is not multiple-version aware
PYTHON_COMPAT=( python3_{11..14} )
-inherit toolchain-funcs perl-module shell-completion optfeature plocale
python-single-r1 systemd meson
+inherit toolchain-funcs perl-module shell-completion optfeature plocale
python-single-r1 systemd meson flag-o-matic
PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN"
@@ -240,6 +240,7 @@ src_configure() {
)
[[ ${CHOST} == *-darwin* ]] && emesonargs+=( -Dfsmonitor=false )
+ [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
# For non-live, we use a downloaded docs tarball instead.
if [[ ${PV} == *9999 ]] || use doc ; then