summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-09-08 07:33:04 +0200
committerJeroen Roovers <jer@gentoo.org>2015-09-08 07:33:04 +0200
commit84f1f10cc0129a831fc49aa5d7b76469aa53ce24 (patch)
treea804bcf0e124f2622bef88a25721eb6fb41800e2
parentx11-libs/libvdpau: Version bump. (diff)
downloadgentoo-84f1f10cc0129a831fc49aa5d7b76469aa53ce24.tar.gz
gentoo-84f1f10cc0129a831fc49aa5d7b76469aa53ce24.tar.bz2
gentoo-84f1f10cc0129a831fc49aa5d7b76469aa53ce24.zip
x11-libs/libvdpau: Fix warning about implicit declaration of secure_getenv in mesa_dri2.c
Package-Manager: portage-2.2.20.1
-rw-r--r--x11-libs/libvdpau/libvdpau-1.1.1.ebuild3
1 files changed, 2 insertions, 1 deletions
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)