aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-graphics/drm/libdrm-2.4.66/0023-radeon-add-libdrm-to-Requires.private.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-graphics/drm/libdrm-2.4.66/0023-radeon-add-libdrm-to-Requires.private.patch')
-rw-r--r--common/recipes-graphics/drm/libdrm-2.4.66/0023-radeon-add-libdrm-to-Requires.private.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-graphics/drm/libdrm-2.4.66/0023-radeon-add-libdrm-to-Requires.private.patch b/common/recipes-graphics/drm/libdrm-2.4.66/0023-radeon-add-libdrm-to-Requires.private.patch
new file mode 100644
index 00000000..e8f750aa
--- /dev/null
+++ b/common/recipes-graphics/drm/libdrm-2.4.66/0023-radeon-add-libdrm-to-Requires.private.patch
@@ -0,0 +1,32 @@
+From 31badf031c90aba4609e1464e252311f96733a5e Mon Sep 17 00:00:00 2001
+From: Emil Velikov <emil.l.velikov@gmail.com>
+Date: Thu, 28 Jan 2016 11:33:34 +0000
+Subject: [PATCH 023/117] radeon: add libdrm to Requires.private
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Equivalent to the amdgpu commit before. Additionally, when libdrm is
+installed to a 'non-default' location, users of libdrm_radeon will fail
+to build, as radeon_cs.h (and maybe others) won't have their
+dependencies (drm.h radeon_drm.h) fulfilled.
+
+Cc: Christian König <christian.koenig@amd.com>
+Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
+Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
+---
+ radeon/libdrm_radeon.pc.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/radeon/libdrm_radeon.pc.in b/radeon/libdrm_radeon.pc.in
+index 68ef0ab..432993a 100644
+--- a/radeon/libdrm_radeon.pc.in
++++ b/radeon/libdrm_radeon.pc.in
+@@ -8,3 +8,4 @@ Description: Userspace interface to kernel DRM services for radeon
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -ldrm_radeon
+ Cflags: -I${includedir} -I${includedir}/libdrm
++Requires.private: libdrm
+--
+2.7.4
+