From ec5cfb01429f7ecb7ccf037517695d619ae8850a Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 20 Apr 2021 01:50:38 +0100 Subject: net-nntp/newspost: port to EAPI 7 Signed-off-by: Sam James --- net-nntp/newspost/newspost-2.1.1-r3.ebuild | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'net-nntp/newspost/newspost-2.1.1-r3.ebuild') diff --git a/net-nntp/newspost/newspost-2.1.1-r3.ebuild b/net-nntp/newspost/newspost-2.1.1-r3.ebuild index 0bcce1c68dc6..b0633bc47a2a 100644 --- a/net-nntp/newspost/newspost-2.1.1-r3.ebuild +++ b/net-nntp/newspost/newspost-2.1.1-r3.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit epatch toolchain-funcs +inherit toolchain-funcs DESCRIPTION="A usenet binary autoposter for unix" HOMEPAGE="http://newspost.unixcab.org/" @@ -12,13 +12,16 @@ SRC_URI="http://newspost.unixcab.org/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" -src_prepare() { +PATCHES=( # Should fix some problems with unexpected server replies, cf. bug 185468 - epatch "${FILESDIR}"/${P}-nntp.patch - epatch "${FILESDIR}"/CAN-2005-0101.patch - epatch "${FILESDIR}"/${P}-glibc-2.10.patch + "${FILESDIR}"/${P}-nntp.patch + "${FILESDIR}"/CAN-2005-0101.patch + "${FILESDIR}"/${P}-glibc-2.10.patch +) + +src_prepare() { + default sed -e "/-strip newspost/d" -i Makefile || die } -- cgit v1.2.3-65-gdbad