summaryrefslogtreecommitdiff
path: root/dev-vcs
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2025-11-17 20:54:02 +0100
committerFabian Groffen <grobian@gentoo.org>2025-11-17 20:54:02 +0100
commit6408827516c5afef669e079322efdb8fd48cba62 (patch)
treeb05c5ea8cee97f819e6bf09de83ee0be3a1cebc6 /dev-vcs
parent6a5c7161af7208c176924bb37f50f347a7dc9c32 (diff)
downloadgentoo-6408827516c5afef669e079322efdb8fd48cba62.tar.gz
gentoo-6408827516c5afef669e079322efdb8fd48cba62.tar.bz2
gentoo-6408827516c5afef669e079322efdb8fd48cba62.zip
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@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git/git-2.51.2-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
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