summary refs log tree commit diff
path: root/app-misc/bdfresize/bdfresize-1.5.ebuild
diff options
context:
space:
mode:
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