commit: 8b979f80983c2bb7f219e65d0f55aab4f43b32b3 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 16 23:26:57 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 16 23:27:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b979f80
dev-vcs/git: build with -std=gnu17 Bug: https://lore.kernel.org/git/87ed3apy2u.fsf <AT> gentoo.org/ Signed-off-by: Sam James <sam <AT> gentoo.org> dev-vcs/git/git-2.47.0-r1.ebuild | 5 ++++- dev-vcs/git/git-9999-r1.ebuild | 5 ++++- dev-vcs/git/git-9999-r2.ebuild | 5 ++++- dev-vcs/git/git-9999-r3.ebuild | 5 ++++- dev-vcs/git/git-9999.ebuild | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/dev-vcs/git/git-2.47.0-r1.ebuild b/dev-vcs/git/git-2.47.0-r1.ebuild index 0de66a8aadb3..02512210c101 100644 --- a/dev-vcs/git/git-2.47.0-r1.ebuild +++ b/dev-vcs/git/git-2.47.0-r1.ebuild @@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{10..13} ) -inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd +inherit flag-o-matic toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -326,6 +326,9 @@ git_emake() { } src_configure() { + # https://lore.kernel.org/git/[email protected]/ + append-cflags -std=gnu17 + exportmakeopts } diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild index 17a8afd1ac8b..39ba0bb5efe7 100644 --- a/dev-vcs/git/git-9999-r1.ebuild +++ b/dev-vcs/git/git-9999-r1.ebuild @@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{10..13} ) -inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd +inherit flag-o-matic toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -323,6 +323,9 @@ git_emake() { } src_configure() { + # https://lore.kernel.org/git/[email protected]/ + append-cflags -std=gnu17 + exportmakeopts } diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild index 17a8afd1ac8b..39ba0bb5efe7 100644 --- a/dev-vcs/git/git-9999-r2.ebuild +++ b/dev-vcs/git/git-9999-r2.ebuild @@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{10..13} ) -inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd +inherit flag-o-matic toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -323,6 +323,9 @@ git_emake() { } src_configure() { + # https://lore.kernel.org/git/[email protected]/ + append-cflags -std=gnu17 + exportmakeopts } diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild index 17a8afd1ac8b..39ba0bb5efe7 100644 --- a/dev-vcs/git/git-9999-r3.ebuild +++ b/dev-vcs/git/git-9999-r3.ebuild @@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{10..13} ) -inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd +inherit flag-o-matic toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -323,6 +323,9 @@ git_emake() { } src_configure() { + # https://lore.kernel.org/git/[email protected]/ + append-cflags -std=gnu17 + exportmakeopts } diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild index 17a8afd1ac8b..39ba0bb5efe7 100644 --- a/dev-vcs/git/git-9999.ebuild +++ b/dev-vcs/git/git-9999.ebuild @@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{10..13} ) -inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd +inherit flag-o-matic toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -323,6 +323,9 @@ git_emake() { } src_configure() { + # https://lore.kernel.org/git/[email protected]/ + append-cflags -std=gnu17 + exportmakeopts }
