net-irc/anope: Fix musl build
authorSam James (sam_c) <sam@cmpct.info>
Tue, 5 May 2020 11:24:22 +0000 (11:24 +0000)
committerThomas Deutschmann <whissi@gentoo.org>
Tue, 5 May 2020 13:05:56 +0000 (15:05 +0200)
commitdcb698cc426e1285f5aabe2f645b29f7bf135227
treefe79d2a111e7112dcc8b62f56f7b2831cfba9d5a
parentcde7f88015d0f72907ca7af04a81adda03b40b5b
net-irc/anope: Fix musl build

__USE_GNU_GETTEXT is exposed by musl because they provide
a GNU gettext-compatible interface. This doesn't mean they
provide all the internals that glibc does.

Check for __GLIBC__ if using internal _nl_msg_cat_cntr.

Closes: https://bugs.gentoo.org/716658
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
net-irc/anope/anope-2.0.7.ebuild
net-irc/anope/files/musl-libintl.patch [new file with mode: 0644]