Add patch from upstream. Bug: https://bugs.gentoo.org/915997 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>