x11-libs/libvdpau: Fix warning about implicit declaration of secure_getenv in mesa_dri2.c
authorJeroen Roovers <jer@gentoo.org>
Tue, 8 Sep 2015 05:33:04 +0000 (07:33 +0200)
committerJeroen Roovers <jer@gentoo.org>
Tue, 8 Sep 2015 05:33:04 +0000 (07:33 +0200)
Package-Manager: portage-2.2.20.1

x11-libs/libvdpau/libvdpau-1.1.1.ebuild

index b4e4e7471167ec6fe2a49c1bf19fc9b32449ee1a..518bf7a0860234667aa0f3393546bcd93e4ae6fe 100644 (file)
@@ -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)