From 63fc2ba529edd89eb6221807a2a93a9bea64f83d Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 8 Mar 2023 05:22:31 +0000 Subject: net-misc/udpcast: restore FEC Closes: https://bugs.gentoo.org/900230 Signed-off-by: Sam James --- net-misc/udpcast/udpcast-20211207-r1.ebuild | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 net-misc/udpcast/udpcast-20211207-r1.ebuild (limited to 'net-misc/udpcast') diff --git a/net-misc/udpcast/udpcast-20211207-r1.ebuild b/net-misc/udpcast/udpcast-20211207-r1.ebuild new file mode 100644 index 000000000000..11fb3b0fac1e --- /dev/null +++ b/net-misc/udpcast/udpcast-20211207-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Multicast file transfer tool" +HOMEPAGE="https://www.udpcast.linux.lu/" +SRC_URI="https://www.udpcast.linux.lu/download/${P}.tar.gz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hardened" + +BDEPEND="dev-lang/perl" + +PATCHES=( + "${FILESDIR}"/${P}-musl.patch +) + +src_configure() { + # bug #900230 + append-cppflags -DBB_FEATURE_UDPCAST_FEC + + use hardened || append-cppflags -DUSE_ASSEMBLER + + default +} + +src_install() { + default + dodoc *.txt +} -- cgit v1.2.3-65-gdbad