[packages] libiconv: add ASCII as alias to US-ASCII, fixes various glib applications
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 28 Apr 2011 13:54:08 +0000 (13:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 28 Apr 2011 13:54:08 +0000 (13:54 +0000)
SVN-Revision: 26775

libs/libiconv/Makefile
libs/libiconv/src/iconv.c

index 1842ae2..6509ce1 100644 (file)
@@ -11,7 +11,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libiconv
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/host-build.mk
index 64009f2..8b2bd97 100644 (file)
@@ -42,6 +42,7 @@ static const unsigned char charsets[] =
        "\001" "UTF-16LE"   "\0"
        "\002" "UTF-32BE"   "\0"
        "\003" "UTF-32LE"   "\0"
+       "\006" "ASCII"      "\0"
        "\006" "US-ASCII"   "\0"
        "\007" "ISO-8859-1" "\0"
        "\007" "LATIN1"     "\0"