commit:     40a9d8c334edf487a5b03b226c55e931c0a3b0ea
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 04:01:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 04:01:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a9d8c3

net-misc/openrsync: fix build w/ musl

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

 .../files/openrsync-0.5.0_p20220508-musl-include.patch        | 11 +++++++++++
 net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild           |  1 +
 2 files changed, 12 insertions(+)

diff --git 
a/net-misc/openrsync/files/openrsync-0.5.0_p20220508-musl-include.patch 
b/net-misc/openrsync/files/openrsync-0.5.0_p20220508-musl-include.patch
new file mode 100644
index 000000000000..d79af6450d4a
--- /dev/null
+++ b/net-misc/openrsync/files/openrsync-0.5.0_p20220508-musl-include.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/866932
+--- a/socket.c
++++ b/socket.c
+@@ -29,6 +29,7 @@
+ #include <poll.h>
+ #include <resolv.h>
+ #include <stdlib.h>
++#include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
+ #if HAVE_ERR

diff --git a/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild 
b/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild
index bfbf341c0781..14825644d70f 100644
--- a/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild
+++ b/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild
@@ -22,6 +22,7 @@ KEYWORDS="~amd64"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.5.0_p20220508-extern-stdint-include.patch
+       "${FILESDIR}"/${PN}-0.5.0_p20220508-musl-include.patch
 )
 
 src_configure() {

Reply via email to