diff --git a/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch b/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch index 8c68a66ad5484..a6f805af1a665 100644 --- a/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch +++ b/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch @@ -1,7 +1,5 @@ -Allow compilation on Darwin - ---- netcat.c -+++ netcat.c +--- a/netcat.c ++++ b/netcat.c @@ -43,11 +43,13 @@ #include #include @@ -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 #include diff --git a/net-analyzer/openbsd-netcat/openbsd-netcat-1.105-r1.ebuild b/net-analyzer/openbsd-netcat/openbsd-netcat-1.105-r1.ebuild index 7a6f5c1846094..9b84922f8b789 100644 --- a/net-analyzer/openbsd-netcat/openbsd-netcat-1.105-r1.ebuild +++ b/net-analyzer/openbsd-netcat/openbsd-netcat-1.105-r1.ebuild @@ -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 }