summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/sed/files')
-rw-r--r--sys-apps/sed/files/sed-4.1.4-makeinfo-c-locale.patch18
1 files changed, 18 insertions, 0 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
+