summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-12-17 12:20:34 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-12-17 12:20:34 +0000
commit07580122910a342ab6f3e9f4fa3314b01147ebe2 (patch)
treee7f6ba41a34c51f1ce951c75204e666d13e9a25f /app-text/uvconv
parentVersion bump (diff)
downloadgentoo-2-07580122910a342ab6f3e9f4fa3314b01147ebe2.tar.gz
gentoo-2-07580122910a342ab6f3e9f4fa3314b01147ebe2.tar.bz2
gentoo-2-07580122910a342ab6f3e9f4fa3314b01147ebe2.zip
Fixed gcc 4.3 issue, bug #250755. Added ~amd64. Clean up ebuild.
(Portage version: 2.1.6/cvs/Linux 2.6.27-gentoo-r4 x86_64)
Diffstat (limited to 'app-text/uvconv')
-rw-r--r--app-text/uvconv/ChangeLog10
-rw-r--r--app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch10
-rw-r--r--app-text/uvconv/uvconv-1.1.3b-r1.ebuild32
3 files changed, 50 insertions, 2 deletions
diff --git a/app-text/uvconv/ChangeLog b/app-text/uvconv/ChangeLog
index eace2e98b0d9..928ecfb904c6 100644
--- a/app-text/uvconv/ChangeLog
+++ b/app-text/uvconv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/uvconv
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/ChangeLog,v 1.4 2007/02/09 01:06:52 flameeyes Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/ChangeLog,v 1.5 2008/12/17 12:20:34 matsuu Exp $
+
+*uvconv-1.1.3b-r1 (17 Dec 2008)
+
+ 17 Dec 2008; MATSUU Takuto <matsuu@gentoo.org>
+ +files/uvconv-1.1.3b-gcc43.patch, +uvconv-1.1.3b-r1.ebuild:
+ Fixed gcc 4.3 issue, bug #250755. Added ~amd64. Clean up ebuild.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch b/app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch
new file mode 100644
index 000000000000..900bfa90740a
--- /dev/null
+++ b/app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch
@@ -0,0 +1,10 @@
+--- uvconv.orig/uvconvert/uvconvert.cpp 2004-07-26 05:19:18.000000000 +0900
++++ uvconv/uvconvert/uvconvert.cpp 2008-12-17 17:57:23.000000000 +0900
+@@ -19,6 +19,7 @@
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ --------------------------------------------------------------------------------*/
+
++#include <cstring>
+ #include "prehdr.h"
+ #include "vnconv.h"
+
diff --git a/app-text/uvconv/uvconv-1.1.3b-r1.ebuild b/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
new file mode 100644
index 000000000000..e7322904968b
--- /dev/null
+++ b/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/uvconv-1.1.3b-r1.ebuild,v 1.1 2008/12/17 12:20:34 matsuu Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A small utility that converts among Vietnamese charsets"
+HOMEPAGE="http://unikey.org/"
+SRC_URI="mirror://sourceforge/unikey/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" OPTFLAGS="${CFLAGS}" -C uvconvert || die
+}
+
+src_install () {
+ dobin uvconvert/${PN}
+ doman uvconv.1
+ dodoc readme.txt AUTHORS CREDITS changes.txt
+}