From e8b3bd1a44ebf294583e0d0f8073e7d6a193e354 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 21 Mar 2020 15:26:50 +0100 Subject: [PATCH] net-proxy/pingtunnel: Use proper POSIX #include's Closes: https://bugs.gentoo.org/713758 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch | 10 ++++++++++ net-proxy/pingtunnel/pingtunnel-0.72.ebuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch diff --git a/net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch b/net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch new file mode 100644 index 000000000000..cf421365917d --- /dev/null +++ b/net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch @@ -0,0 +1,10 @@ +--- a/ptunnel.h ++++ b/ptunnel.h +@@ -45,7 +45,6 @@ + + // Includes + #ifndef WIN32 +- #include + #include + #include + #include diff --git a/net-proxy/pingtunnel/pingtunnel-0.72.ebuild b/net-proxy/pingtunnel/pingtunnel-0.72.ebuild index cc137990d138..0536913f7464 100644 --- a/net-proxy/pingtunnel/pingtunnel-0.72.ebuild +++ b/net-proxy/pingtunnel/pingtunnel-0.72.ebuild @@ -21,7 +21,10 @@ DEPEND="${RDEPEND}" S="${WORKDIR}"/PingTunnel -PATCHES=( "${FILESDIR}"/${P}_makefile.patch ) +PATCHES=( + "${FILESDIR}"/${P}_makefile.patch + "${FILESDIR}"/${P}-musl.patch +) HTML_DOCS=( web/. ) src_configure() { -- 2.26.2