toolchain-glibc.eclass: avoid using KV_to_int and get_KV
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 27 Jan 2019 20:13:56 +0000 (20:13 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 27 Jan 2019 20:27:53 +0000 (20:27 +0000)
commitdd40cfb4721f691b5596e334960dea58b97f986a
tree141b0ce0daa4c2809562aa855356a2bd7fbde1d0
parentaf8d4176feac1f87c83fb77d650567f756d80464
toolchain-glibc.eclass: avoid using KV_to_int and get_KV

'KV_to_int' and 'get_KV' are portage internals.

This change pulls in implementation of 'KV_to_int' and
'get_KV' as-is with a rename:
    KV_to_int -> tc_glibc_KV_to_int
    get_KV    -> tc_glibc_get_KV (small API change)

Reported-by: Brian Harring
Reported-by: Michał Górny
Bug: https://bugs.gentoo.org/384041
Closes: https://bugs.gentoo.org/587320
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/toolchain-glibc.eclass