From fc5a22d45cb2f8fe55572ed5dba9d2b3bd41fd8c Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 10 Oct 2020 12:33:43 +0300 Subject: app-misc/bdfresize: Minor changes Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Azat Bahawi --- app-misc/bdfresize/bdfresize-1.5.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'app-misc/bdfresize/bdfresize-1.5.ebuild') diff --git a/app-misc/bdfresize/bdfresize-1.5.ebuild b/app-misc/bdfresize/bdfresize-1.5.ebuild index 688ad0f..dcb95e9 100644 --- a/app-misc/bdfresize/bdfresize-1.5.ebuild +++ b/app-misc/bdfresize/bdfresize-1.5.ebuild @@ -3,8 +3,6 @@ EAPI=7 -inherit toolchain-funcs - DESCRIPTION="A tool for resizing BDF format fonts" HOMEPAGE="http://openlab.jp/efont/dist/tools/bdfresize/" SRC_URI="http://openlab.jp/efont/dist/tools/bdfresize/${P}.tar.gz" @@ -18,8 +16,7 @@ DEPEND="" RDEPEND="${DEPEND}" BDEPEND="" -PATCHES=( ${FILESDIR}/${P}-gcc.patch ) - -src_compile() { - emake CC="$(tc-getCC)" +src_prepare() { + default + sed -e '/*malloc();/d' -i charresize.c || die } -- cgit 1.4.1