commit: fbdb7f4bfb559a5812c3c0c5f33ea56c74831925 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 16 09:10:51 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 16 09:18:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbdb7f4b
app-admin/sudo: pass -std=gnu17 GCC trunk now defaults to -std=gnu23 with which sudo is not yet compatible, so build with -std=gnu17 for now. Bug: https://github.com/sudo-project/sudo/issues/420 Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/sudo/sudo-1.9.15_p5.ebuild | 5 ++++- app-admin/sudo/sudo-1.9.16-r1.ebuild | 5 ++++- app-admin/sudo/sudo-1.9.16_p1.ebuild | 5 ++++- app-admin/sudo/sudo-9999.ebuild | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app-admin/sudo/sudo-1.9.15_p5.ebuild b/app-admin/sudo/sudo-1.9.15_p5.ebuild index 70d37ba4d885..a4b306483ee4 100644 --- a/app-admin/sudo/sudo-1.9.15_p5.ebuild +++ b/app-admin/sudo/sudo-1.9.15_p5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit pam libtool tmpfiles toolchain-funcs +inherit flag-o-matic pam libtool tmpfiles toolchain-funcs MY_P="${P/_/}" MY_P="${MY_P/beta/b}" @@ -144,6 +144,9 @@ src_configure() { # bug #767712 tc-export PKG_CONFIG + # https://github.com/sudo-project/sudo/issues/420 + append-cflags -std=gnu17 + # - audit: somebody got to explain me how I can test this before I # enable it.. - Diego # - plugindir: autoconf code is crappy and does not delay evaluation diff --git a/app-admin/sudo/sudo-1.9.16-r1.ebuild b/app-admin/sudo/sudo-1.9.16-r1.ebuild index 6e25ed577a92..6954116fe1d7 100644 --- a/app-admin/sudo/sudo-1.9.16-r1.ebuild +++ b/app-admin/sudo/sudo-1.9.16-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools pam tmpfiles toolchain-funcs +inherit autotools flag-o-matic pam tmpfiles toolchain-funcs MY_P="${P/_/}" MY_P="${MY_P/beta/b}" @@ -150,6 +150,9 @@ src_configure() { # bug #767712 tc-export PKG_CONFIG + # https://github.com/sudo-project/sudo/issues/420 + append-cflags -std=gnu17 + # - audit: somebody got to explain me how I can test this before I # enable it.. - Diego # - plugindir: autoconf code is crappy and does not delay evaluation diff --git a/app-admin/sudo/sudo-1.9.16_p1.ebuild b/app-admin/sudo/sudo-1.9.16_p1.ebuild index 5a882d3247ac..c537dac71b70 100644 --- a/app-admin/sudo/sudo-1.9.16_p1.ebuild +++ b/app-admin/sudo/sudo-1.9.16_p1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit pam tmpfiles toolchain-funcs +inherit flag-o-matic pam tmpfiles toolchain-funcs MY_P="${P/_/}" MY_P="${MY_P/beta/b}" @@ -148,6 +148,9 @@ src_configure() { # bug #767712 tc-export PKG_CONFIG + # https://github.com/sudo-project/sudo/issues/420 + append-cflags -std=gnu17 + # - audit: somebody got to explain me how I can test this before I # enable it.. - Diego # - plugindir: autoconf code is crappy and does not delay evaluation diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild index 5a882d3247ac..c537dac71b70 100644 --- a/app-admin/sudo/sudo-9999.ebuild +++ b/app-admin/sudo/sudo-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit pam tmpfiles toolchain-funcs +inherit flag-o-matic pam tmpfiles toolchain-funcs MY_P="${P/_/}" MY_P="${MY_P/beta/b}" @@ -148,6 +148,9 @@ src_configure() { # bug #767712 tc-export PKG_CONFIG + # https://github.com/sudo-project/sudo/issues/420 + append-cflags -std=gnu17 + # - audit: somebody got to explain me how I can test this before I # enable it.. - Diego # - plugindir: autoconf code is crappy and does not delay evaluation
