musl: update to 1.1.10.

This commit is contained in:
Juan RP 2015-06-05 07:21:22 +02:00
parent 4325a3fd94
commit cb0c5dade0
2 changed files with 3 additions and 17 deletions

View File

@ -1,13 +0,0 @@
Fix a NULL pointer dereference in case CURRENT_LOCALE is not set up properly.
--- src/locale/dcngettext.c.orig 2015-05-18 12:29:14.897996949 +0200
+++ src/locale/dcngettext.c 2015-05-18 12:29:26.730132449 +0200
@@ -132,7 +132,7 @@ char *dcngettext(const char *domainname,
switch (category) {
case LC_MESSAGES:
locname = loc->messages_name;
- if (!*locname) goto notrans;
+ if (!locname || !*locname) goto notrans;
break;
case LC_TIME:
case LC_MONETARY:

View File

@ -1,7 +1,7 @@
# Template file for 'musl'.
pkgname=musl
version=1.1.9
revision=6
version=1.1.10
revision=1
build_style=gnu-configure
configure_args="--prefix=/usr --disable-gcc-wrapper"
conflicts="glibc>=0"
@ -10,12 +10,11 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.musl-libc.org/"
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
checksum=00bf7173caf972c88cd07cb0d420c082a2f35efcccc1a81f8909bec2d030283e
checksum=45bbe9b1c7f7a0f743477af1e103b6889bfe4dd9815e16f6c89f6c90831c8b7c
nostrip_files="libc.so"
shlib_provides="libc.so"
only_for_archs="i686-musl x86_64-musl armv6l-musl armv7l-musl aarch64-musl"
CFLAGS="-U_FORTIFY_SOURCE"
post_build() {
$CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent