summaryrefslogtreecommitdiff
path: root/net-misc/udpcast
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-31 10:50:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-31 10:50:20 +0100
commitc3b55a6be7da027d97d8aef00ef88c3011121a42 (patch)
tree3931524f7f6f9958aa6427f6a11a0df28ff99a30 /net-misc/udpcast
parentc8f83ad526fb6b554daf375e0ad65eb2d56e669b (diff)
gentoo auto-resync : 31:08:2022 - 10:50:20
Diffstat (limited to 'net-misc/udpcast')
-rw-r--r--net-misc/udpcast/Manifest3
-rw-r--r--net-misc/udpcast/files/udpcast-20211207-musl.patch33
-rw-r--r--net-misc/udpcast/udpcast-20211207.ebuild32
3 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/udpcast/Manifest b/net-misc/udpcast/Manifest
index 91ce0ca857d5..18199d260363 100644
--- a/net-misc/udpcast/Manifest
+++ b/net-misc/udpcast/Manifest
@@ -1,4 +1,7 @@
AUX udpcast-20200328-gentoo.patch 338 BLAKE2B bc10afd3494d0b57b382cccf2d046c3dc1085830bf9821b0bec4b4eb521fc06c53ebd86189a74e292ebee44aa70701cd28530679a4ea799c49ea2c86bb9ba491 SHA512 28022d99fb5b257f9fd59336d2b7d4d5029b5a8a8c9aa92ed848f94d8cb15908c6325a70e93dbde3f4138ffae262ef9a1522c18f3370095e3c896e797f7c1fb4
+AUX udpcast-20211207-musl.patch 1018 BLAKE2B e8adbf4ee6317e514d05003be17c45a2eabd7fe547462b1a09aa0cf9e6a691bc2933e5bb5745a45218471aabdc89ac6046ecfcfd672ca9e93fe858a1416fc09f SHA512 4ef72c0a4484d6782b0b42c689950c20de04746ea5cdd2f3527fe42c1599c906393d22da00ad84a9aa4bac0c4ed643a2c9075116ef96a60f1f7b57b003641b66
DIST udpcast-20200328.tar.gz 169252 BLAKE2B df760dea814fabf951a65dc191a88355dec864d9c0f1be99ea60c742862d0b9944e51a45dd462ffce5c4b56a8d94f719796e3c725b42edae8cb9a19b1d3bc147 SHA512 b1ce4f0cade5db6bc69d3a154c354565675f44e97f9e3d90152f9594fd4f17fff2891eb1cb8d73c59e0d24eeb85e485e96b7a64fa9f1b6d2f005c4cece377bc7
+DIST udpcast-20211207.tar.gz 171148 BLAKE2B 96a7b1a30e19a2b83ce2ab7d8491ad430838f1305b83b728e6b43343404440b5a7fa9ee0afd0c00f8203937803a691065af31d7dc51633f26d019955e9ac8ed0 SHA512 89010c781d99a60e335213e88867c9114b51f3d75bd4ebfa38bcd1382e5925be4f316faf8c24ea55b087edb2115e18b5fd3cceac70a65371f91227528d218e89
EBUILD udpcast-20200328.ebuild 549 BLAKE2B 23845dfb07fdc0e5f3abf93f376f5d1587991b7d2ade0b7e02a054009f301e71eda260ed2065b0a6129cf8a9e4df4e9c1825014be13d03a9c5d80a7c37ae75e4 SHA512 1a63b729e0979921656aeebb03a0c7f25847868aa83dacf944e3bb4b42e364f0d942adb27d4de720361f768249e3b057367725becb5ed7737786222451acb871
+EBUILD udpcast-20211207.ebuild 538 BLAKE2B 82a6882cf74f7ba2d0ea7b43c8ba7e6c766681c8132b83b45b1a67166469c4388db0ccc7a10cfe391debece1897192ae58d58e4da04bdc0fcc10f20f0b274a0c SHA512 7ac0e6b64910f1ef5d6c49d7214881fff7c25f6328fd26338780da0078b17f2e9a8094db8a95ebf6cb94b57a36afb4fb9c8514fd411c9658b95e3f4ac13a1f7c
MISC metadata.xml 693 BLAKE2B d5fe9bbc4fd2deb6aa08eb6326e888f4cbb9e3e15491909d435f10b1dee78898d6c41a3906c750fb2f97a3bf92b407971af009425f664541697e1d82c6f5d92d SHA512 b4e5471bb9d81ee5d52ce35ce77e18c92cdcc5cec6cf32fdcb6537c3af4b361e8f11dae8446901c7669ba0489d5fe7cae57a3809c6d0314d1001f1f9b94f7429
diff --git a/net-misc/udpcast/files/udpcast-20211207-musl.patch b/net-misc/udpcast/files/udpcast-20211207-musl.patch
new file mode 100644
index 000000000000..9b0aaae59032
--- /dev/null
+++ b/net-misc/udpcast/files/udpcast-20211207-musl.patch
@@ -0,0 +1,33 @@
+https://git.busybox.net/buildroot/tree/package/udpcast/0001-fix-musl-build.patch?id=8d7be66f70cccbaf61e5cb6b2414b9d9ce162f48
+
+fix musl build
+
+Fix the following musl build failure:
+
+receivedata.c: In function 'findSlice':
+receivedata.c:348:2: error: unknown type name 'ptrdiff_t'
+ 348 | ptrdiff_t pos = slice - clst->slices;
+ | ^~~~~~~~~
+receivedata.c:17:1: note: 'ptrdiff_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
+ 16 | #include "fec.h"
+ +++ |+#include <stddef.h>
+ 17 |
+
+Fixes:
+ - http://autobuild.buildroot.org/results/30208c6f175967fed6de690447a09e0c86547b24
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status:
+https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast@udpcast.linux.lu/thread/4MBES2CPUSUNIZTC7NXCQYS2GAE4DQSG/]
+
+--- a/receivedata.c
++++ b/receivedata.c
+@@ -1,6 +1,7 @@
+ #include <assert.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <stddef.h>
+ #include <stdlib.h>
+ #include <sys/time.h>
+ #include <errno.h>
+
diff --git a/net-misc/udpcast/udpcast-20211207.ebuild b/net-misc/udpcast/udpcast-20211207.ebuild
new file mode 100644
index 000000000000..e2165f829f27
--- /dev/null
+++ b/net-misc/udpcast/udpcast-20211207.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 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() {
+ use hardened || append-cppflags -DUSE_ASSEMBLER
+
+ default
+}
+
+src_install() {
+ default
+ dodoc *.txt
+}