commit:     3d79d22e6473c8446793afdac1bf225e9c46ec76
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 20:36:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 20:37:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d79d22e

net-fs/samba: build w/ -std=gnu17

Closes: https://bugs.gentoo.org/943942
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-fs/samba/samba-4.21.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-fs/samba/samba-4.21.1.ebuild b/net-fs/samba/samba-4.21.1.ebuild
index 80aeecc1717a..71fd45394a02 100644
--- a/net-fs/samba/samba-4.21.1.ebuild
+++ b/net-fs/samba/samba-4.21.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -210,6 +210,9 @@ src_prepare() {
                -i source4/dsdb/samdb/ldb_modules/password_hash.c \
                || die
 
+       # bug #943942
+       append-cflags -std=gnu17
+
        # WAF
        multilib_copy_sources
 }

Reply via email to