pkgs/tools/text/recode: added (heavily patched) version 3.6

svn path=/nixpkgs/trunk/; revision=24384
This commit is contained in:
Peter Simons
2010-10-20 13:05:49 +00:00
parent 0df15241ca
commit 5019f883f3
4 changed files with 90 additions and 0 deletions

View File

@@ -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)