From 305a692f9ed63553c7c59399a9b629221333cbcb Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 17 May 2015 16:08:57 +0200 Subject: [PATCH] trn: fix for musl. --- srcpkgs/trn/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template index d6d36a196f4..eb69a578f0f 100644 --- a/srcpkgs/trn/template +++ b/srcpkgs/trn/template @@ -1,7 +1,7 @@ # Template file for 'trn' pkgname=trn version=4.0test77 -revision=3 +revision=4 wrksrc=$pkgname-${version/test/-test} build_style=gnu-makefile hostmakedepends="groff bison" @@ -14,12 +14,15 @@ homepage="http://trn.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz" checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff +post_extract() { + sed -i 's/pipe2/pipetwo/g' filter.c + sed -i '1i#include ' nntpclient.h +} do_configure() { cp ${FILESDIR}/Policy.sh . ./Configure -OdErs ./Configure -desS } - do_install() { make ${makejobs} install CC="$CC" \ rnbin=${DESTDIR}/usr/bin \