summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2006-04-09 13:42:16 +0000
committerMichael Januszewski <spock@gentoo.org>2006-04-09 13:42:16 +0000
commite561153cf8044d4cd6ccbdc402398328ce732467 (patch)
tree23c3cf2c5fbb5c9686dff9343659916b56f36386 /www-client
parentUncommented ppc fixes wrt Bug #116655 (diff)
downloadgentoo-2-e561153cf8044d4cd6ccbdc402398328ce732467.tar.gz
gentoo-2-e561153cf8044d4cd6ccbdc402398328ce732467.tar.bz2
gentoo-2-e561153cf8044d4cd6ccbdc402398328ce732467.zip
Use UTF-8 IO by default when the 'unicode' USE flag is set (bug #129221).
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/elinks/ChangeLog6
-rw-r--r--www-client/elinks/elinks-0.11.0.ebuild7
-rw-r--r--www-client/elinks/files/elinks-0.10.1-utf_8_io-default.patch11
3 files changed, 21 insertions, 3 deletions
diff --git a/www-client/elinks/ChangeLog b/www-client/elinks/ChangeLog
index 4823a942168a..aad86042e3c2 100644
--- a/www-client/elinks/ChangeLog
+++ b/www-client/elinks/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/elinks
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v 1.40 2006/02/28 01:50:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v 1.41 2006/04/09 13:42:16 spock Exp $
+
+ 09 Apr 2006; Michał Januszewski <spock@gentoo.org>
+ +files/elinks-0.10.1-utf_8_io-default.patch, elinks-0.11.0.ebuild:
+ Use UTF-8 IO by default when the 'unicode' USE flag is set (bug #129221).
28 Feb 2006; Jeroen Roovers <jer@gentoo.org> elinks-0.10.5-r1.ebuild,
elinks-0.10.6.ebuild:
diff --git a/www-client/elinks/elinks-0.11.0.ebuild b/www-client/elinks/elinks-0.11.0.ebuild
index 6746fee0f65c..d9c224e09623 100644
--- a/www-client/elinks/elinks-0.11.0.ebuild
+++ b/www-client/elinks/elinks-0.11.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.11.0.ebuild,v 1.3 2006/02/03 21:55:42 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.11.0.ebuild,v 1.4 2006/04/09 13:42:16 spock Exp $
inherit eutils
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="bittorrent bzip2 debug finger ftp gnutls gopher gpm guile idn ipv6 \
- javascript lua nls nntp perl ruby samba ssl X zlib"
+ javascript lua nls nntp perl ruby samba ssl unicode X zlib"
RESTRICT="test"
DEPEND=">=dev-libs/expat-1.95.4
@@ -46,6 +46,9 @@ src_unpack() {
epatch ${FILESDIR}/${P}-gcc4-inline.patch
epatch ${FILESDIR}/${P}-make.patch
epatch ${FILESDIR}/${P}-ruby.patch
+ if use unicode ; then
+ epatch ${FILESDIR}/elinks-0.10.1-utf_8_io-default.patch
+ fi
}
src_compile() {
diff --git a/www-client/elinks/files/elinks-0.10.1-utf_8_io-default.patch b/www-client/elinks/files/elinks-0.10.1-utf_8_io-default.patch
new file mode 100644
index 000000000000..e0f59cda3264
--- /dev/null
+++ b/www-client/elinks/files/elinks-0.10.1-utf_8_io-default.patch
@@ -0,0 +1,11 @@
+--- elinks-0.10.1/src/config/options.inc.utf_8_io-default 2005-01-04 01:42:56.000000000 +0100
++++ elinks-0.10.1/src/config/options.inc 2005-01-28 17:54:42.568968720 +0100
+@@ -747,7 +747,7 @@
+ "terminal.")),
+
+ INIT_OPT_BOOL("terminal._template_", N_("UTF-8 I/O"),
+- "utf_8_io", 0, 0,
++ "utf_8_io", 0, 1,
+ N_("Enable I/O in UTF8 for Unicode terminals. Note that currently,\n"
+ "only the subset of UTF8 according to terminal codepage is used.")),
+