tnet-misc/hurl: Remove patch for linux. - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit 418d8b14c3fdc1978bf1d89ac77e05b6936fef6f DIR parent 2f3136473474907078608c81bb4d2d502e925f02 HTML Author: parazyd <parazyd@dyne.org> Date: Wed, 11 Aug 2021 17:59:38 +0200 net-misc/hurl: Remove patch for linux. Diffstat: D net-misc/hurl/files/linux.patch | 37 ------------------------------- M net-misc/hurl/hurl-9999.ebuild | 8 +++++--- 2 files changed, 5 insertions(+), 40 deletions(-) --- DIR diff --git a/net-misc/hurl/files/linux.patch b/net-misc/hurl/files/linux.patch t@@ -1,37 +0,0 @@ -diff --git a/Makefile b/Makefile -index 3e9eb12..ab5739c 100644 ---- a/Makefile -+++ b/Makefile -@@ -5,10 +5,10 @@ VERSION = 0.3 - - PREFIX = /usr/local - BINDIR = ${PREFIX}/bin --MANDIR = ${PREFIX}/man/man1 -+MANDIR = ${PREFIX}/share/man/man1 - --HURL_CFLAGS = ${CFLAGS} --HURL_LDFLAGS = -ltls ${LDFLAGS} -+HURL_CFLAGS = ${CFLAGS} -D_DEFAULT_SOURCE -+HURL_LDFLAGS = -ltls ${LDFLAGS} -lbsd - - SRC = hurl.c - OBJ = ${SRC:.c=.o} -diff --git a/hurl.c b/hurl.c -index 4e0f9ab..7cbb4a6 100644 ---- a/hurl.c -+++ b/hurl.c -@@ -1,4 +1,5 @@ - #include <sys/socket.h> -+#include <sys/types.h> - #include <sys/time.h> - - #include <ctype.h> -@@ -10,7 +11,7 @@ - #include <stdio.h> - #include <stdint.h> - #include <stdlib.h> --#include <string.h> -+#include <bsd/string.h> - #include <time.h> - #include <unistd.h> - DIR diff --git a/net-misc/hurl/hurl-9999.ebuild b/net-misc/hurl/hurl-9999.ebuild t@@ -20,13 +20,15 @@ DEPEND=" " RDEPEND="" -PATCHES=( "${FILESDIR}/linux.patch" ) - src_compile() { emake all } src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + MANDIR="${EPREFIX}/usr/share/man/man1" \ + install dodoc README hurl.vt }