commit:     6b956db0a5978125d5ec5eb7d1342564e92e2a8e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 13:16:27 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 13:17:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b956db0

net-mail/tnef: build w/ -std=gnu17

No activity upstream.

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

 net-mail/tnef/tnef-1.4.18.ebuild | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/net-mail/tnef/tnef-1.4.18.ebuild b/net-mail/tnef/tnef-1.4.18.ebuild
index 1fce8aafbaef..02f14be04ef9 100644
--- a/net-mail/tnef/tnef-1.4.18.ebuild
+++ b/net-mail/tnef/tnef-1.4.18.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools
+
+inherit autotools flag-o-matic
 
 DESCRIPTION="Decodes MS-TNEF MIME attachments"
 HOMEPAGE="https://github.com/verdammelt/tnef/";
 SRC_URI="https://github.com/verdammelt/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
-SLOT="0"
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="amd64 ~arm64 ~hppa ppc ppc64 sparc x86"
 
 src_prepare() {
@@ -18,6 +19,13 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       # bug #943831
+       append-flags -std=gnu17
+
+       default
+}
+
 src_test() {
        emake -j1 check
 }

Reply via email to