diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-09-08 15:50:14 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-09-08 15:50:29 -0400 |
commit | 2a098330a77d2daec0f55e838782805ef4cd3de3 (patch) | |
tree | f90dc945cb225849b1c7fefe3b95e98f76bd5d88 /sys-libs/musl/files | |
parent | dev-perl/Devel-PatchPerl: Version bump; remove old (diff) | |
download | gentoo-2a098330a77d2daec0f55e838782805ef4cd3de3.tar.gz gentoo-2a098330a77d2daec0f55e838782805ef4cd3de3.tar.bz2 gentoo-2a098330a77d2daec0f55e838782805ef4cd3de3.zip |
sys-libs/musl: add fix for codeset.
See http://www.openwall.com/lists/musl/2015/09/01/3
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-libs/musl/files')
-rw-r--r-- | sys-libs/musl/files/musl-1.1.11-fix-codeset.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-libs/musl/files/musl-1.1.11-fix-codeset.patch b/sys-libs/musl/files/musl-1.1.11-fix-codeset.patch new file mode 100644 index 000000000000..e846f5f32a78 --- /dev/null +++ b/sys-libs/musl/files/musl-1.1.11-fix-codeset.patch @@ -0,0 +1,12 @@ +diff -Naur musl-1.1.11.orig/src/locale/langinfo.c musl-1.1.11/src/locale/langinfo.c +--- musl-1.1.11.orig/src/locale/langinfo.c 2015-08-30 00:15:56.000000000 -0400 ++++ musl-1.1.11/src/locale/langinfo.c 2015-09-08 15:46:26.717980251 -0400 +@@ -34,7 +34,7 @@ + const char *str; + + if (item == CODESET) +- return MB_CUR_MAX==1 ? "UTF-8-CODE-UNITS" : "UTF-8"; ++ return "UTF-8"; + + switch (cat) { + case LC_NUMERIC: |