--- /usr/portage/x11-drivers/xf86-input-keyboard/xf86-input-keyboard-1.8.1.ebuild 2016-01-28 23:59:09.000000000 -0500 +++ /usr/local/portage/x11-drivers/xf86-input-keyboard/xf86-input-keyboard-1.8.1.ebuild 2016-02-02 00:07:55.000000000 -0500 @@ -3,12 +3,17 @@ # $Id$ EAPI=5 -inherit xorg-2 +inherit flag-o-matic xorg-2 DESCRIPTION="Keyboard input driver" KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="" +IUSE="elibc_uclibc" RDEPEND=">=x11-base/xorg-server-1.6.3" DEPEND="${RDEPEND}" + +src_configure() { + use elibc_uclibc && append-cflags $(test-flags-CC -Wno-error=implicit-function-declaration) + xorg-2_src_configure +}