commit:     84f1f10cc0129a831fc49aa5d7b76469aa53ce24
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  8 05:33:04 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Sep  8 05:33:04 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f1f10c

x11-libs/libvdpau: Fix warning about implicit declaration of secure_getenv in 
mesa_dri2.c

Package-Manager: portage-2.2.20.1

 x11-libs/libvdpau/libvdpau-1.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-libs/libvdpau/libvdpau-1.1.1.ebuild 
b/x11-libs/libvdpau/libvdpau-1.1.1.ebuild
index b4e4e74..518bf7a 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)

Reply via email to