Skip to content

Commit

Permalink
libiconv: add all ASCII aliases
Browse files Browse the repository at this point in the history
This patch adds missing ASCII aliases to the libiconv stub in order to avoid conversion errors like openwrt/packages#2373

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
  • Loading branch information
kissg1988 authored and jow- committed May 2, 2016
1 parent 6a06cd8 commit a2b5551
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package/libs/libiconv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=libiconv
PKG_RELEASE:=7
PKG_RELEASE:=8

PKG_LICENSE:=LGPL-2.1
PKG_LICENSE_FILES:=LICENSE
Expand Down
9 changes: 9 additions & 0 deletions package/libs/libiconv/src/iconv.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ static const unsigned char charsets[] =
"\003" "UTF-32LE" "\0"
"\006" "ASCII" "\0"
"\006" "US-ASCII" "\0"
"\006" "ISO646-US" "\0"
"\006" "ISO_646.IRV:1991" "\0"
"\006" "ISO-IR-6" "\0"
"\006" "ANSI_X3.4-1968" "\0"
"\006" "ANSI_X3.4-1986" "\0"
"\006" "CP367" "\0"
"\006" "IBM367" "\0"
"\006" "US" "\0"
"\006" "CSASCII" "\0"
"\007" "ISO-8859-1" "\0"
"\007" "LATIN1" "\0"
"\010" "ISO-8859-15""\0"
Expand Down

0 comments on commit a2b5551

Please sign in to comment.