summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-05-31 14:32:43 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-05-31 14:32:43 +0000
commitffda7ca8b0487a850971288ad7b19b8ef130df83 (patch)
tree837144a03f7f91294ed934ab53d173ae663d0202 /dev-libs/xmlrpc-c
parentRevision bump, remove block of kde-misc/dolphin:3.5 (diff)
downloadgentoo-2-ffda7ca8b0487a850971288ad7b19b8ef130df83.tar.gz
gentoo-2-ffda7ca8b0487a850971288ad7b19b8ef130df83.tar.bz2
gentoo-2-ffda7ca8b0487a850971288ad7b19b8ef130df83.zip
Set LC_ALL=C and LANG=C w.r.t. bug 255440. Use | as seperator in sed to not fail with legitimate CFLAGS.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog7
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild10
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index adbd222ed5a1..4acee9ca1358 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.87 2009/05/17 14:08:49 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.88 2009/05/31 14:32:43 loki_val Exp $
+
+ 31 May 2009; Peter Alfredsen <loki_val@gentoo.org>
+ xmlrpc-c-1.18.02.ebuild:
+ Set LC_ALL=C and LANG=C w.r.t. bug 255440. Use as seperator in sed to not
+ fail with legitimate CFLAGS.
17 May 2009; Peter Alfredsen <loki_val@gentoo.org>
-xmlrpc-c-1.14.07-r1.ebuild, -files/xmlrpc-c-1.14.07-abyss-disable.patch,
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
index 9021ea8eba03..ee2d5fac3126 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.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/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild,v 1.8 2009/05/04 17:38:39 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild,v 1.9 2009/05/31 14:32:43 loki_val Exp $
EAPI=2
@@ -30,6 +30,10 @@ pkg_setup() {
#Bug 214137: We need to filter this.
unset SRCDIR
+# Bug 255440
+export LC_ALL=C
+export LANG=C
+
PATCHES=(
"${FILESDIR}/${P}/dumpvalue.patch"
"${FILESDIR}/${P}/cpp-depends.patch"
@@ -41,8 +45,8 @@ src_prepare() {
# Respect the user's CFLAGS/CXXFLAGS.
sed -i \
- -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" \
- -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" \
+ -e "/CFLAGS_COMMON/s|-g -O3$|${CFLAGS}|" \
+ -e "/CXXFLAGS_COMMON/s|-g$|${CXXFLAGS}|" \
"${S}"/common.mk || die "404. File not found while sedding"
}