diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-10-10 12:33:43 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-10-10 12:33:47 +0300 |
commit | fc5a22d45cb2f8fe55572ed5dba9d2b3bd41fd8c (patch) | |
tree | e6ef4c71f3ebd8fea6d4321e1ccd027bbd109d89 /app-misc | |
parent | Update 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')
-rw-r--r-- | app-misc/bdfresize/bdfresize-1.5.ebuild | 9 | ||||
-rw-r--r-- | app-misc/bdfresize/files/bdfresize-1.5-gcc.patch | 12 |
2 files changed, 3 insertions, 18 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 } diff --git a/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch b/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch deleted file mode 100644 index 015d306..0000000 --- a/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/charresize.c b/charresize.c -index b6c694a..795bff4 100644 ---- a/charresize.c -+++ b/charresize.c -@@ -46,7 +46,6 @@ static int bit[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; - void - processChar(void) - { -- char *malloc(); - char *srcimage; - int *dstgray; - |