musl: update to version 1.1.10+git
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46001
This commit is contained in:
parent
278add2ab1
commit
41c53d8f0c
5 changed files with 1586 additions and 2023 deletions
|
@ -3,6 +3,6 @@ if USE_MUSL
|
||||||
config MUSL_VERSION
|
config MUSL_VERSION
|
||||||
string
|
string
|
||||||
depends on USE_MUSL
|
depends on USE_MUSL
|
||||||
default "1.1.9"
|
default "1.1.10"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -11,7 +11,7 @@ PKG_NAME:=musl
|
||||||
PKG_VERSION:=$(call qstrip,$(CONFIG_MUSL_VERSION))
|
PKG_VERSION:=$(call qstrip,$(CONFIG_MUSL_VERSION))
|
||||||
PKG_RELEASE=1
|
PKG_RELEASE=1
|
||||||
|
|
||||||
PKG_MD5SUM:=14e8c5ac74f887d53256b3dcaf9b4aaa
|
PKG_MD5SUM:=fc30892ee582c91920505bbd0021049f
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://www.musl-libc.org/releases
|
PKG_SOURCE_URL:=http://www.musl-libc.org/releases
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
File diff suppressed because it is too large
Load diff
1578
toolchain/musl/patches/001-git-2015-06-16.patch
Normal file
1578
toolchain/musl/patches/001-git-2015-06-16.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
||||||
--- a/src/locale/iconv.c
|
--- a/src/locale/iconv.c
|
||||||
+++ b/src/locale/iconv.c
|
+++ b/src/locale/iconv.c
|
||||||
@@ -38,6 +38,7 @@ static const unsigned char charmaps[] =
|
@@ -39,6 +39,7 @@ static const unsigned char charmaps[] =
|
||||||
"ucs4\0ucs4be\0utf32\0utf32be\0\0\300"
|
"ucs4\0ucs4be\0utf32\0utf32be\0\0\300"
|
||||||
"ucs4le\0utf32le\0\0\303"
|
"ucs4le\0utf32le\0\0\303"
|
||||||
"ascii\0usascii\0iso646\0iso646us\0\0\307"
|
"ascii\0usascii\0iso646\0iso646us\0\0\307"
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
"eucjp\0\0\320"
|
"eucjp\0\0\320"
|
||||||
"shiftjis\0sjis\0\0\321"
|
"shiftjis\0sjis\0\0\321"
|
||||||
"gb18030\0\0\330"
|
"gb18030\0\0\330"
|
||||||
@@ -45,6 +46,7 @@ static const unsigned char charmaps[] =
|
@@ -46,6 +47,7 @@ static const unsigned char charmaps[] =
|
||||||
"gb2312\0\0\332"
|
"gb2312\0\0\332"
|
||||||
"big5\0bigfive\0cp950\0big5hkscs\0\0\340"
|
"big5\0bigfive\0cp950\0big5hkscs\0\0\340"
|
||||||
"euckr\0ksc5601\0ksx1001\0cp949\0\0\350"
|
"euckr\0ksc5601\0ksx1001\0cp949\0\0\350"
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
#include "codepages.h"
|
#include "codepages.h"
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -52,6 +54,7 @@ static const unsigned short legacy_chars
|
@@ -53,6 +55,7 @@ static const unsigned short legacy_chars
|
||||||
#include "legacychars.h"
|
#include "legacychars.h"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
static const unsigned short jis0208[84][94] = {
|
static const unsigned short jis0208[84][94] = {
|
||||||
#include "jis0208.h"
|
#include "jis0208.h"
|
||||||
};
|
};
|
||||||
@@ -71,6 +74,7 @@ static const unsigned short hkscs[] = {
|
@@ -72,6 +75,7 @@ static const unsigned short hkscs[] = {
|
||||||
static const unsigned short ksc[93][94] = {
|
static const unsigned short ksc[93][94] = {
|
||||||
#include "ksc.h"
|
#include "ksc.h"
|
||||||
};
|
};
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
static int fuzzycmp(const unsigned char *a, const unsigned char *b)
|
static int fuzzycmp(const unsigned char *a, const unsigned char *b)
|
||||||
{
|
{
|
||||||
@@ -212,6 +216,7 @@ size_t iconv(iconv_t cd0, char **restric
|
@@ -216,6 +220,7 @@ size_t iconv(iconv_t cd0, char **restric
|
||||||
c = ((c-0xd7c0)<<10) + (d-0xdc00);
|
c = ((c-0xd7c0)<<10) + (d-0xdc00);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
case SHIFT_JIS:
|
case SHIFT_JIS:
|
||||||
if (c-0xa1 <= 0xdf-0xa1) {
|
if (c-0xa1 <= 0xdf-0xa1) {
|
||||||
c += 0xff61-0xa1;
|
c += 0xff61-0xa1;
|
||||||
@@ -358,6 +363,7 @@ size_t iconv(iconv_t cd0, char **restric
|
@@ -362,6 +367,7 @@ size_t iconv(iconv_t cd0, char **restric
|
||||||
c = ksc[c][d];
|
c = ksc[c][d];
|
||||||
if (!c) goto ilseq;
|
if (!c) goto ilseq;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue