summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-05-03 01:23:28 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-05-03 01:23:59 -0500
commitba122d83e6a0978c304e4ceac959103bdda2183e (patch)
treea29658928ce223cd4b83b5879973d5dbd8aead8b /media-libs/virglrenderer
parentdev-python/twisted-core: Clean old versions up (diff)
downloadgentoo-ba122d83e6a0978c304e4ceac959103bdda2183e.tar.gz
gentoo-ba122d83e6a0978c304e4ceac959103bdda2183e.tar.bz2
gentoo-ba122d83e6a0978c304e4ceac959103bdda2183e.zip
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
Diffstat (limited to 'media-libs/virglrenderer')
-rw-r--r--media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch10
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.6.0.ebuild4
2 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch b/media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch
new file mode 100644
index 000000000000..17bc3bce0a8d
--- /dev/null
+++ b/media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch
@@ -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)
diff --git a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
index ea5be9b16eb3..f8d5cdf82c71 100644
--- a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
@@ -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