commit:     06cd3222cf045c58fb46efb2375404ec1b5a1c8d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:26:21 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 08:56:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cd3222

www-apache/pwauth: pass -std=gnu89

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 www-apache/pwauth/pwauth-2.3.10-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www-apache/pwauth/pwauth-2.3.10-r2.ebuild 
b/www-apache/pwauth/pwauth-2.3.10-r2.ebuild
index a99fff7b1ff0..ce26116771fa 100644
--- a/www-apache/pwauth/pwauth-2.3.10-r2.ebuild
+++ b/www-apache/pwauth/pwauth-2.3.10-r2.ebuild
@@ -59,6 +59,8 @@ pkg_setup() {
 
        use ignore-case && append-cppflags -DIGNORE_CASE
        use domain-aware && append-cppflags -DOMAIN_AWARE
+
+       append-cflags -std=gnu89 # old codebase, incompatible with c2x
 }
 
 src_compile() {

Reply via email to