commit:     63fc2ba529edd89eb6221807a2a93a9bea64f83d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  8 05:22:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  8 05:22:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fc2ba5

net-misc/udpcast: restore FEC

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

 net-misc/udpcast/udpcast-20211207-r1.ebuild | 35 +++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

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
+}

Reply via email to