From: David Seifert Date: Sat, 21 Mar 2020 14:26:50 +0000 (+0100) Subject: net-proxy/pingtunnel: Use proper POSIX #include's X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e8b3bd1a44ebf294583e0d0f8073e7d6a193e354;p=gentoo.git 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 --- 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() {