Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openrsync/files/, net-misc/openrsync/
Date: Wed, 31 Aug 2022 04:30:28
Message-Id: 1661918509.40a9d8c334edf487a5b03b226c55e931c0a3b0ea.sam@gentoo
1 commit: 40a9d8c334edf487a5b03b226c55e931c0a3b0ea
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 04:01:49 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 04:01:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a9d8c3
7
8 net-misc/openrsync: fix build w/ musl
9
10 Closes: https://bugs.gentoo.org/866932
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/openrsync-0.5.0_p20220508-musl-include.patch | 11 +++++++++++
14 net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild | 1 +
15 2 files changed, 12 insertions(+)
16
17 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
18 new file mode 100644
19 index 000000000000..d79af6450d4a
20 --- /dev/null
21 +++ b/net-misc/openrsync/files/openrsync-0.5.0_p20220508-musl-include.patch
22 @@ -0,0 +1,11 @@
23 +https://bugs.gentoo.org/866932
24 +--- a/socket.c
25 ++++ b/socket.c
26 +@@ -29,6 +29,7 @@
27 + #include <poll.h>
28 + #include <resolv.h>
29 + #include <stdlib.h>
30 ++#include <stdio.h>
31 + #include <string.h>
32 + #include <unistd.h>
33 + #if HAVE_ERR
34
35 diff --git a/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild b/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild
36 index bfbf341c0781..14825644d70f 100644
37 --- a/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild
38 +++ b/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild
39 @@ -22,6 +22,7 @@ KEYWORDS="~amd64"
40
41 PATCHES=(
42 "${FILESDIR}"/${PN}-0.5.0_p20220508-extern-stdint-include.patch
43 + "${FILESDIR}"/${PN}-0.5.0_p20220508-musl-include.patch
44 )
45
46 src_configure() {