commit: 9dbc2b2625cd04c750e4503d199808c84431043d Author: Hank Leininger <hlein <AT> korelogic <DOT> com> AuthorDate: Sun Dec 7 00:29:45 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 10 12:53:44 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbc2b26
net-misc/netdate: build w/ -std=gnu17 Closes: https://bugs.gentoo.org/945027 Signed-off-by: Hank Leininger <hlein <AT> korelogic.com> Part-of: https://github.com/gentoo/gentoo/pull/44929 Closes: https://github.com/gentoo/gentoo/pull/44929 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/netdate/netdate-1.2-r3.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/net-misc/netdate/netdate-1.2-r3.ebuild b/net-misc/netdate/netdate-1.2-r3.ebuild new file mode 100644 index 000000000000..a36ec5ed1e7b --- /dev/null +++ b/net-misc/netdate/netdate-1.2-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Utility to set date and time by ARPA Internet RFC 868" +HOMEPAGE="ftp://ftp.suse.com/pub/people/kukuk/ipv6/" +SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/ipv6/${P}.tar.bz2" +S="${WORKDIR}/${PN}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~s390 ~sparc ~x86" + +DOCS=( README ) + +src_configure() { + # bug #945027 + append-cflags -std=gnu17 + default +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin "${PN}" + doman "${PN}.8" + einstalldocs +}
