diff --git a/srcpkgs/musl/patches/no-utf8-code-units-locale.patch b/srcpkgs/musl/patches/no-utf8-code-units-locale.patch new file mode 100644 index 00000000000..0e5f3727c4c --- /dev/null +++ b/srcpkgs/musl/patches/no-utf8-code-units-locale.patch @@ -0,0 +1,15 @@ +Temporary fix for https://github.com/voidlinux/void-packages/issues/2425 + +@dalias affirmed that returning UTF-8 even when requesting C locale is just fine. + +--- src/locale/langinfo.c.orig 2015-09-01 08:41:59.830797631 +0200 ++++ src/locale/langinfo.c 2015-09-01 08:42:15.324966247 +0200 +@@ -34,7 +34,7 @@ char *__nl_langinfo_l(nl_item item, loca + 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: diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index 151454b693a..22fdb686ea3 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -1,7 +1,7 @@ # Template file for 'musl'. pkgname=musl version=1.1.11 -revision=1 +revision=2 build_pie=yes build_style=gnu-configure configure_args="--prefix=/usr --disable-gcc-wrapper"