diff options
author | Sam James <sam@gentoo.org> | 2024-11-16 09:10:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-16 09:18:39 +0000 |
commit | fbdb7f4bfb559a5812c3c0c5f33ea56c74831925 (patch) | |
tree | 639949044f41927936f42e8b6e8498545013409f /app-admin | |
parent | dev-python/mkdocs-material: Remove old (diff) | |
download | gentoo-fbdb7f4bfb559a5812c3c0c5f33ea56c74831925.tar.gz gentoo-fbdb7f4bfb559a5812c3c0c5f33ea56c74831925.tar.bz2 gentoo-fbdb7f4bfb559a5812c3c0c5f33ea56c74831925.zip |
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@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sudo/sudo-1.9.15_p5.ebuild | 5 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.9.16-r1.ebuild | 5 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.9.16_p1.ebuild | 5 | ||||
-rw-r--r-- | 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 |