diff options
author | Sam James <sam@gentoo.org> | 2022-08-31 05:00:07 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-31 05:00:07 +0100 |
commit | 911a412a193cc5b347d57e2e662722a568412bf7 (patch) | |
tree | 7ae7c6a690fea01b22d94afd4d27f15362a02a37 /net-misc/udpcast/files | |
parent | net-proxy/squid: use Bash tests (diff) | |
download | gentoo-911a412a193cc5b347d57e2e662722a568412bf7.tar.gz gentoo-911a412a193cc5b347d57e2e662722a568412bf7.tar.bz2 gentoo-911a412a193cc5b347d57e2e662722a568412bf7.zip |
net-misc/udpcast: add 20211207
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/udpcast/files')
-rw-r--r-- | net-misc/udpcast/files/udpcast-20211207-musl.patch | 33 |
1 files changed, 33 insertions, 0 deletions
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> + |