forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/virglrenderer: fix libdrm linkage #571124
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
media-libs/virglrenderer/files/virglrenderer-0.2.0-libdrm.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
https://bugs.gentoo.org/571124 | ||
|
||
patch sent upstream | ||
|
||
From c78953320cae8b39869a8eae41fdec5c4ead30ae Mon Sep 17 00:00:00 2001 | ||
From: Mike Frysinger <[email protected]> | ||
Date: Sun, 17 Jan 2016 23:50:21 -0500 | ||
Subject: [PATCH] link libvirglrenderer against libdrm | ||
|
||
The library uses it (via drmPrimeHandleToFD) so link it in. | ||
|
||
URL: https://bugs.gentoo.org/571124 | ||
Signed-off-by: Mike Frysinger <[email protected]> | ||
--- | ||
src/Makefile.am | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/Makefile.am b/src/Makefile.am | ||
index 61cf879..09be3e9 100644 | ||
--- a/src/Makefile.am | ||
+++ b/src/Makefile.am | ||
@@ -1,5 +1,6 @@ | ||
SUBDIRS := gallium/auxiliary | ||
AM_LDFLAGS = -lgbm -lm -ldl -I./gallium/include \ | ||
+ $(LIBDRM_LIBS) \ | ||
$(EPOXY_LIBS) \ | ||
$(CODE_COVERAGE_LDFLAGS) | ||
|
||
-- | ||
2.6.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters