summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-13 08:47:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-13 08:47:33 +0000
commit76bf73ea6b85b161dd8a5320a72e7b6189898e04 (patch)
tree011c2ccbd51c726ef9a0c70bedd2a4970d9a0a2f /sys-apps/sed
parentPatch fixes #84030 (missing type declarations) (diff)
downloadgentoo-2-76bf73ea6b85b161dd8a5320a72e7b6189898e04.tar.gz
gentoo-2-76bf73ea6b85b161dd8a5320a72e7b6189898e04.tar.bz2
gentoo-2-76bf73ea6b85b161dd8a5320a72e7b6189898e04.zip
make sure we run makeinfo in the C locale #83984 by Stanley
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/files/sed-4.1.4-makeinfo-c-locale.patch18
-rw-r--r--sys-apps/sed/sed-4.1.4.ebuild8
2 files changed, 25 insertions, 1 deletions
diff --git a/sys-apps/sed/files/sed-4.1.4-makeinfo-c-locale.patch b/sys-apps/sed/files/sed-4.1.4-makeinfo-c-locale.patch
new file mode 100644
index 000000000000..ede6dc8e30bf
--- /dev/null
+++ b/sys-apps/sed/files/sed-4.1.4-makeinfo-c-locale.patch
@@ -0,0 +1,18 @@
+Running makeinfo on sed.texi in some locales can cause
+problems (probably due to range matching not being the
+same). So we force the C locale and just take the lazy
+way out.
+
+http://bugs.gentoo.org/show_bug.cgi?id=83984
+
+--- doc/Makefile.in
++++ doc/Makefile.in
+@@ -615,7 +615,7 @@
+
+ @MAKEINFO_HTML_TRUE@sed.html: sed.texi sed.info
+ @MAKEINFO_HTML_TRUE@ builddir=`pwd` && cd $(srcdir) && \
+-@MAKEINFO_HTML_TRUE@ $(MAKEINFO) --html --no-split -o $$builddir/sed.html sed.texi
++@MAKEINFO_HTML_TRUE@ LC_ALL="C" $(MAKEINFO) --html --no-split -o $$builddir/sed.html sed.texi
+
+ @MAKEINFO_HTML_TRUE@html: sed.html
+
diff --git a/sys-apps/sed/sed-4.1.4.ebuild b/sys-apps/sed/sed-4.1.4.ebuild
index 1cf4fca8202c..a785ef1c7eb6 100644
--- a/sys-apps/sed/sed-4.1.4.ebuild
+++ b/sys-apps/sed/sed-4.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.4.ebuild,v 1.1 2005/02/19 18:26:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.4.ebuild,v 1.2 2005/03/13 08:47:33 vapier Exp $
inherit flag-o-matic
@@ -35,6 +35,12 @@ src_bootstrap_cleanup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-makeinfo-c-locale.patch
+}
+
src_compile() {
src_bootstrap_sed