diff options
author | azahi <azahi@teknik.io> | 2018-12-28 01:22:40 +0300 |
---|---|---|
committer | azahi <azahi@teknik.io> | 2018-12-28 01:22:40 +0300 |
commit | 8f2f466965f061ce6d6be4443497c0fe6e10a5bc (patch) | |
tree | 9999239cbbac3bab7497b28c44dd75cf499d7f8c /app-misc/bdfresize |
Initial
Diffstat (limited to '')
-rw-r--r-- | app-misc/bdfresize/Manifest | 1 | ||||
-rw-r--r-- | app-misc/bdfresize/bdfresize-1.5.ebuild | 24 | ||||
-rw-r--r-- | app-misc/bdfresize/files/bdfresize-1.5-gcc.patch | 12 | ||||
-rw-r--r-- | app-misc/bdfresize/metadata.xml | 8 |
4 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/bdfresize/Manifest b/app-misc/bdfresize/Manifest new file mode 100644 index 0000000..3092ea5 --- /dev/null +++ b/app-misc/bdfresize/Manifest @@ -0,0 +1 @@ +DIST bdfresize-1.5.tar.gz 50916 BLAKE2B d67d9a377ce5ed367c30ca7fdb79ed68e7733208f1bc808ab5e1201c8afb67f9c8a28fe747c3bfe016b2e191a452290315e18654ce309ba97e9543bf42f37a5a SHA512 94d483b65ed4a29315b0f6627b6118c147e6d80dda61c0c44ad34fa62f303e980d974c81c9b852a845d8f5cb678e043023c42bf300b10e6f18846bd8490ef878 diff --git a/app-misc/bdfresize/bdfresize-1.5.ebuild b/app-misc/bdfresize/bdfresize-1.5.ebuild new file mode 100644 index 0000000..38a6cc2 --- /dev/null +++ b/app-misc/bdfresize/bdfresize-1.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +PATCHES=( ${FILESDIR}/${P}-gcc.patch ) + +src_compile() { + emake CC="$(tc-getCC)" +} diff --git a/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch b/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch new file mode 100644 index 0000000..015d306 --- /dev/null +++ b/app-misc/bdfresize/files/bdfresize-1.5-gcc.patch @@ -0,0 +1,12 @@ +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; + diff --git a/app-misc/bdfresize/metadata.xml b/app-misc/bdfresize/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/app-misc/bdfresize/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>azahi@teknik.io</email> + <name>azahi</name> + </maintainer> +</pkgmetadata> |