summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-11 09:18:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-11 09:18:55 +0000
commitc37f2886ac467270b010421db963e165f1d41f63 (patch)
treef3246874140dc425053ca1b006583dda44b13478 /sys-libs
parentold (diff)
downloadhistorical-c37f2886ac467270b010421db963e165f1d41f63.tar.gz
historical-c37f2886ac467270b010421db963e165f1d41f63.tar.bz2
historical-c37f2886ac467270b010421db963e165f1d41f63.zip
Fix building in some locales #131462 by Andres Toomsalu.
Package-Manager: portage-2.1.2_rc1-r5
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/com_err/ChangeLog6
-rw-r--r--sys-libs/com_err/com_err-1.39.ebuild3
-rw-r--r--sys-libs/com_err/files/com_err-1.38-locale.patch30
3 files changed, 37 insertions, 2 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog
index 45cd2015eb19..2a04f18f99af 100644
--- a/sys-libs/com_err/ChangeLog
+++ b/sys-libs/com_err/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/com_err
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.25 2006/10/09 21:12:56 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.26 2006/11/11 09:18:55 vapier Exp $
+
+ 11 Nov 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/com_err-1.38-locale.patch, com_err-1.39.ebuild:
+ Fix building in some locales #131462 by Andres Toomsalu.
09 Oct 2006; Timothy Redaelli <drizzt@gentoo.org> com_err-1.39.ebuild:
Added ~x86-fbsd keyword.
diff --git a/sys-libs/com_err/com_err-1.39.ebuild b/sys-libs/com_err/com_err-1.39.ebuild
index 83864de2b4a8..c2208b14467d 100644
--- a/sys-libs/com_err/com_err-1.39.ebuild
+++ b/sys-libs/com_err/com_err-1.39.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/sys-libs/com_err/com_err-1.39.ebuild,v 1.4 2006/10/09 21:12:56 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.39.ebuild,v 1.5 2006/11/11 09:18:55 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -23,6 +23,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.39-makefile.patch
epatch "${FILESDIR}"/${PN}-1.39-parse-types.patch
+ epatch "${FILESDIR}"/${PN}-1.38-locale.patch
}
src_compile() {
diff --git a/sys-libs/com_err/files/com_err-1.38-locale.patch b/sys-libs/com_err/files/com_err-1.38-locale.patch
new file mode 100644
index 000000000000..2a0919cf44be
--- /dev/null
+++ b/sys-libs/com_err/files/com_err-1.38-locale.patch
@@ -0,0 +1,30 @@
+Fix issues with non-C locales (like ee)
+
+http://bugs.gentoo.org/104116
+http://bugs.gentoo.org/131462
+
+--- e2fsprogs/lib/et/compile_et.sh.in
++++ e2fsprogs/lib/et/compile_et.sh.in
+@@ -1,6 +1,10 @@
+ #!/bin/sh
+ #
+ #
++
++# the awk scripts here use a-z and such
++export LC_ALL="C"
++
+ AWK=@AWK@
+ DIR="${DIR-@datadir@/et}"
+ ET_DIR="@ET_DIR@"
+--- e2fsprogs/lib/ss/mk_cmds.sh.in
++++ e2fsprogs/lib/ss/mk_cmds.sh.in
+@@ -2,6 +2,9 @@
+ #
+ #
+
++# the awk/sed scripts here use a-z and such
++export LC_ALL="C"
++
+ DIR="${DIR-@datadir@/ss}"
+ SS_DIR="@SS_DIR@"
+ AWK=@AWK@