* [gentoo-commits] repo/gentoo:master commit in: net-proxy/pingtunnel/, net-proxy/pingtunnel/files/
@ 2020-03-21 14:27 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-03-21 14:27 UTC (permalink / raw
To: gentoo-commits
commit: e8b3bd1a44ebf294583e0d0f8073e7d6a193e354
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 21 14:26:50 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 21 14:26:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b3bd1a
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 <soap <AT> gentoo.org>
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(-)
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 00000000000..cf421365917
--- /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 <sys/unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
diff --git a/net-proxy/pingtunnel/pingtunnel-0.72.ebuild b/net-proxy/pingtunnel/pingtunnel-0.72.ebuild
index cc137990d13..0536913f746 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() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-21 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21 14:27 [gentoo-commits] repo/gentoo:master commit in: net-proxy/pingtunnel/, net-proxy/pingtunnel/files/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox