From: Jeroen Roovers Date: Tue, 8 Sep 2015 05:33:04 +0000 (+0200) Subject: x11-libs/libvdpau: Fix warning about implicit declaration of secure_getenv in mesa_dri2.c X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84f1f10cc0129a831fc49aa5d7b76469aa53ce24;p=gentoo.git x11-libs/libvdpau: Fix warning about implicit declaration of secure_getenv in mesa_dri2.c Package-Manager: portage-2.2.20.1 --- diff --git a/x11-libs/libvdpau/libvdpau-1.1.1.ebuild b/x11-libs/libvdpau/libvdpau-1.1.1.ebuild index b4e4e7471167..518bf7a08602 100644 --- a/x11-libs/libvdpau/libvdpau-1.1.1.ebuild +++ b/x11-libs/libvdpau/libvdpau-1.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 VIRTUALX_REQUIRED="test" -inherit autotools-multilib virtualx +inherit autotools-multilib flag-o-matic virtualx DESCRIPTION="VDPAU wrapper and trace libraries" HOMEPAGE="http://www.freedesktop.org/wiki/Software/VDPAU" @@ -31,6 +31,7 @@ DEPEND="${RDEPEND} dri? ( >=x11-proto/dri2proto-2.2 )" src_configure() { + append-cppflags -D_GNU_SOURCE local myeconfargs=( --docdir="${EPREFIX}"/usr/share/doc/${PF} $(use_enable doc documentation)