summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-05-24 12:06:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-05-24 12:06:09 +0000
commit6e91e27263afe6b18dc168c7c6815541151fbec8 (patch)
tree3bf74aca92105da8bdf28f70898c7505ec01de25 /app-text/letterize
parentStable on alpha, bug #221853 (diff)
downloadhistorical-6e91e27263afe6b18dc168c7c6815541151fbec8.tar.gz
historical-6e91e27263afe6b18dc168c7c6815541151fbec8.tar.bz2
historical-6e91e27263afe6b18dc168c7c6815541151fbec8.zip
Keyword ~amd64.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'app-text/letterize')
-rw-r--r--app-text/letterize/ChangeLog8
-rw-r--r--app-text/letterize/Manifest5
-rw-r--r--app-text/letterize/files/letterize-1.2-printf.patch13
-rw-r--r--app-text/letterize/letterize-1.2.ebuild25
4 files changed, 41 insertions, 10 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/Manifest b/app-text/letterize/Manifest
index dc7b4ba4b17c..5c65c39de0db 100644
--- a/app-text/letterize/Manifest
+++ b/app-text/letterize/Manifest
@@ -1,4 +1,5 @@
+AUX letterize-1.2-printf.patch 395 RMD160 32eba15c1ac7964f60fa921aba3c88eb0a569613 SHA1 36e0dbe58124c64bbe2a0245ef939b4d2184858d SHA256 df9f8608909e7e87ccc435878ac9fbf0bb2027831a8203538b8522a6b913bd4d
DIST letterize-1.2.tar.gz 13314 RMD160 da1aec8fc6633008b54d00b3f139ef5a867cde0b SHA1 3e82fa9681d63686e5121773b1582e4230676292 SHA256 be5906ece69098b7cec43d935c8e9d886001e992f2104de1f50968071d0d895b
-EBUILD letterize-1.2.ebuild 588 RMD160 567d7bd9837f2f16da648334cca7affa3505cf3d SHA1 01278c096da0833384142b23b98e3a8ec642a004 SHA256 0aab200a865dbdba2511f4e3ee02dae5db5a7cf55405aa9340d6d9fe8d70e1e4
-MISC ChangeLog 672 RMD160 db4d42042e6d54e9e6985edfa7baa79d02b3361b SHA1 1498f4022590f5f0ad91899460342e7bc1468057 SHA256 01e0077c7c7b39cd8e622ccb086eb33b4131c7c6198a572dbf8eaefe0cf3bb77
+EBUILD letterize-1.2.ebuild 723 RMD160 21082649d74296f38dc7e3c10ddde4e0f75bc08d SHA1 37c6db9ccfcf33eb395d2fb1b727b19c02cc0f6c SHA256 cce70701c26e37f145f2d8fecd97b18a38fe5d949e40f5f65ee890044fd56d55
+MISC ChangeLog 795 RMD160 b1045b74fa76f311302416008d5facd298816b7e SHA1 596eb6f6e11379f1ba25abfa52d060ef9104a34f SHA256 0018b6bce3768a3659e794b96c28d4e87dc88c9f017c5899c26157470c944271
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
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
}