media-libs/virglrenderer: apply forgotten patch, bug #600138

Thanks to Alex Omskiy for porting the patch.

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Matthias Maier
2017-05-03 01:23:28 -05:00
parent a49cd7c524
commit ba122d83e6
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
diff -Naur virglrenderer-0.5.0.orig/src/Makefile.am virglrenderer-0.5.0/src/Makefile.am
--- virglrenderer-0.5.0.orig/src/Makefile.am 2016-04-11 11:23:51.000000000 +0600
+++ virglrenderer-0.5.0/src/Makefile.am 2016-11-18 04:44:32.278594781 +0600
@@ -1,5 +1,6 @@
SUBDIRS := gallium/auxiliary
AM_LDFLAGS = -lm \
+ $(LIBDRM_LIBS) \
$(GBM_LIBS) \
$(EPOXY_LIBS) \
$(CODE_COVERAGE_LDFLAGS)

View File

@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
>=x11-misc/util-macros-1.8
test? ( >=dev-libs/check-0.9.4 )"
PATCHES=(
"${FILESDIR}"/${PN}-0.6.0-libdrm.patch
)
src_prepare() {
default
[[ -e configure ]] || eautoreconf