summary refs log tree commit diff
path: root/app-misc/bdfresize/bdfresize-1.5.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-10-10 12:33:43 +0300
committerAzat Bahawi <azahi@teknik.io>2020-10-10 12:33:47 +0300
commitfc5a22d45cb2f8fe55572ed5dba9d2b3bd41fd8c (patch)
treee6ef4c71f3ebd8fea6d4321e1ccd027bbd109d89 /app-misc/bdfresize/bdfresize-1.5.ebuild
parentUpdate TODO.md (diff)
app-misc/bdfresize: Minor changes
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to 'app-misc/bdfresize/bdfresize-1.5.ebuild')
-rw-r--r--app-misc/bdfresize/bdfresize-1.5.ebuild9
1 files changed, 3 insertions, 6 deletions
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
 }

Consider giving Nix/NixOS a try! <3