diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-05-24 12:06:09 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-05-24 12:06:09 +0000 |
commit | 7c5e1d5333787e6215225254c7a445be9bff2c99 (patch) | |
tree | e771d5f40a136fd279979c52e32453c4f20584b7 /app-text/letterize | |
parent | Stable on alpha, bug #221853 (diff) | |
download | gentoo-2-7c5e1d5333787e6215225254c7a445be9bff2c99.tar.gz gentoo-2-7c5e1d5333787e6215225254c7a445be9bff2c99.tar.bz2 gentoo-2-7c5e1d5333787e6215225254c7a445be9bff2c99.zip |
Keyword ~amd64.
(Portage version: 2.1.5.2)
Diffstat (limited to 'app-text/letterize')
-rw-r--r-- | app-text/letterize/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/letterize/files/letterize-1.2-printf.patch | 13 | ||||
-rw-r--r-- | app-text/letterize/letterize-1.2.ebuild | 25 |
3 files changed, 38 insertions, 8 deletions
diff --git a/app-text/letterize/ChangeLog b/app-text/letterize/ChangeLog index bd282fc0d3d0..8a8429752573 100644 --- a/app-text/letterize/ChangeLog +++ b/app-text/letterize/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/letterize -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/letterize/ChangeLog,v 1.3 2007/03/12 23:53:24 nattfodd Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/letterize/ChangeLog,v 1.4 2008/05/24 12:06:08 drac Exp $ + + 24 May 2008; Samuli Suominen <drac@gentoo.org> + +files/letterize-1.2-printf.patch, letterize-1.2.ebuild: + Keyword ~amd64. 12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml: Replaced text-markup by tex as maintaining herd (text-markup split). diff --git a/app-text/letterize/files/letterize-1.2-printf.patch b/app-text/letterize/files/letterize-1.2-printf.patch new file mode 100644 index 000000000000..e1ec1d422f10 --- /dev/null +++ b/app-text/letterize/files/letterize-1.2-printf.patch @@ -0,0 +1,13 @@ +diff -ur letterize-1.2.orig/letterize.c letterize-1.2/letterize.c +--- letterize-1.2.orig/letterize.c 1994-10-25 04:29:21.000000000 +0200 ++++ letterize-1.2/letterize.c 2008-05-24 13:54:18.000000000 +0300 +@@ -18,6 +18,9 @@ + + The table is 30 percent populated. + */ ++ ++#include <stdio.h> ++ + long obvtab[27][27] = + { + { 0X00100001, 0X00040000, 0X00040000, 0X00009000, 0X00808020, 0X00140000, diff --git a/app-text/letterize/letterize-1.2.ebuild b/app-text/letterize/letterize-1.2.ebuild index 99e5018a84b8..f9a6b38f0381 100644 --- a/app-text/letterize/letterize-1.2.ebuild +++ b/app-text/letterize/letterize-1.2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/letterize/letterize-1.2.ebuild,v 1.1 2005/05/29 19:33:54 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/letterize/letterize-1.2.ebuild,v 1.2 2008/05/24 12:06:08 drac Exp $ + +inherit eutils toolchain-funcs DESCRIPTION="Generate English-plausible alphabetic mnemonics for a phone number" HOMEPAGE="http://www.catb.org/~esr/letterize/" @@ -8,11 +10,22 @@ SRC_URI="http://www.catb.org/~esr/letterize/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-printf.patch +} + +src_compile() { + tc-export CC + emake || die "emake failed." +} + src_install() { - dobin letterize || die "dobin error" - doman letterize.1 || die "doman error" - dodoc README || die "dodoc error" + dobin ${PN} || die "dobin failed." + doman ${PN}.1 + dodoc README } |