erlang: fix musl compatibility
authorNicolas Thill <nico@openwrt.org>
Mon, 22 Jun 2015 23:06:36 +0000 (01:06 +0200)
committerNicolas Thill <nico@openwrt.org>
Mon, 22 Jun 2015 23:06:36 +0000 (01:06 +0200)
commitd4afd14ff1a7bfd2cf5e91e9a374497b1a5ca265
treea32c6efe272c9e0d26313d120c7781b7bb67d4cb
parent0b73e6833b2dab0151452130dec0da40131c2e03
erlang: fix musl compatibility

gethostbyname_r is available when _GNU_SOURCE is defined, add a patch to check for it instead of __GLIBC__, build with -D_GNU_SOURCE, bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lang/erlang/Makefile
lang/erlang/patches/102-musl_compat.patch [new file with mode: 0644]