summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephanie J. Lockwood-Childs <wormo@gentoo.org>2009-10-05 06:47:54 +0000
committerStephanie J. Lockwood-Childs <wormo@gentoo.org>2009-10-05 06:47:54 +0000
commitaa8b280807f48368d8b2746d74bee7373f55e658 (patch)
tree56f3ebfc49d1b36cdbee3f806b8deaee032be150 /www-client
parentmake rpm_unpack functions w/no args work off of $A like the unpack function (diff)
downloadgentoo-2-aa8b280807f48368d8b2746d74bee7373f55e658.tar.gz
gentoo-2-aa8b280807f48368d8b2746d74bee7373f55e658.tar.bz2
gentoo-2-aa8b280807f48368d8b2746d74bee7373f55e658.zip
header cleanup patch: locale.h should be explicitly included
to get LC_ALL definition (bug #286198) (Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/lynx/ChangeLog7
-rw-r--r--www-client/lynx/files/lynx-2.8.7-include-locale.patch11
-rw-r--r--www-client/lynx/lynx-2.8.7_p1.ebuild5
3 files changed, 21 insertions, 2 deletions
diff --git a/www-client/lynx/ChangeLog b/www-client/lynx/ChangeLog
index a1aeb106ba06..8d6df8bb5b47 100644
--- a/www-client/lynx/ChangeLog
+++ b/www-client/lynx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/lynx
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.99 2009/09/15 13:45:10 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.100 2009/10/05 06:47:54 wormo Exp $
+
+ 05 Oct 2009; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ +files/lynx-2.8.7-include-locale.patch, lynx-2.8.7_p1.ebuild:
+ header cleanup patch: locale.h should be explicitly included
+ to get LC_ALL definition (bug #286198)
15 Sep 2009; Jeroen Roovers <jer@gentoo.org> lynx-2.8.7_p1.ebuild:
Stable for HPPA (bug #283035).
diff --git a/www-client/lynx/files/lynx-2.8.7-include-locale.patch b/www-client/lynx/files/lynx-2.8.7-include-locale.patch
new file mode 100644
index 000000000000..0b600132560b
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.8.7-include-locale.patch
@@ -0,0 +1,11 @@
+--- src/LYMain.c.orig 2009-10-04 22:18:14.000000000 -0700
++++ src/LYMain.c 2009-10-04 22:29:54.000000000 -0700
+@@ -57,7 +57,7 @@
+ #include <io.h>
+ #endif
+
+-#if defined(LOCALE) && !defined(HAVE_LIBINTL_H)
++#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
+ #undef gettext /* Solaris locale.h prototypes gettext() */
+ #include <locale.h>
+ #ifndef HAVE_GETTEXT
diff --git a/www-client/lynx/lynx-2.8.7_p1.ebuild b/www-client/lynx/lynx-2.8.7_p1.ebuild
index 6c12f0c0a668..4ff6c48990f3 100644
--- a/www-client/lynx/lynx-2.8.7_p1.ebuild
+++ b/www-client/lynx/lynx-2.8.7_p1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.7_p1.ebuild,v 1.11 2009/09/15 13:45:10 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.7_p1.ebuild,v 1.12 2009/10/05 06:47:54 wormo Exp $
EAPI=2
@@ -67,6 +67,9 @@ src_prepare() {
# fix configure for openssl compiled with kerberos (bug #267749)
epatch "${FILESDIR}/lynx-2.8.7-configure-openssl.patch"
+
+ # missing include of locale.h when compiled with -O0 (bug #286198)
+ epatch "${FILESDIR}/lynx-2.8.7-include-locale.patch"
}
src_configure() {