mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-analyzer/openbsd-netcat: fix patching
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/20267 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
0d1455ab4a
commit
094258d6ac
@@ -1,7 +1,5 @@
|
||||
Allow compilation on Darwin
|
||||
|
||||
--- netcat.c
|
||||
+++ netcat.c
|
||||
--- a/netcat.c
|
||||
+++ b/netcat.c
|
||||
@@ -43,11 +43,13 @@
|
||||
#include <arpa/telnet.h>
|
||||
#include <arpa/inet.h>
|
||||
@@ -73,8 +71,8 @@ Allow compilation on Darwin
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
--- socks.c
|
||||
+++ socks.c
|
||||
--- a/socks.c
|
||||
+++ b/socks.c
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -29,7 +29,7 @@ src_prepare() {
|
||||
default
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# this undoes some of the Debian/Linux changes
|
||||
epatch "${FILESDIR}"/${P}-darwin.patch
|
||||
eapply "${FILESDIR}"/${P}-darwin.patch
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user