summaryrefslogtreecommitdiffstats
path: root/abs/extra/recode/recode-3.6-gettextfix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/recode/recode-3.6-gettextfix.diff')
-rw-r--r--abs/extra/recode/recode-3.6-gettextfix.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra/recode/recode-3.6-gettextfix.diff b/abs/extra/recode/recode-3.6-gettextfix.diff
new file mode 100644
index 0000000..3b7eb8b
--- /dev/null
+++ b/abs/extra/recode/recode-3.6-gettextfix.diff
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/239372
+
+patch by Dmitry Karasik
+
+--- recode-3.6/m4/gettext.m4
++++ recode-3.6/m4/gettext.m4
+@@ -109,12 +109,12 @@
+ else
+ ac_items="$LINGUAS"
+ for ac_item in $ac_items; do
+- case "$ALL_LINGUAS" in
+- *$ac_item*)
++ for supported_item in $ALL_LINGUAS; do
++ if test "$ac_item" = "$supported_item"; then
+ ac_print="$ac_print $ac_item"
+ MOFILES="$MOFILES $ac_item.mo"
+- ;;
+- esac
++ fi
++ done
+ done
+ fi
+ AC_SUBST(MOFILES)