diff options
author | Johannes Pointner <h4nn35.work@gmail.com> | 2016-03-07 23:51:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-12 22:11:20 +0000 |
commit | 2312eb1b6da67c2c7e8c968db55d99472ac29b49 (patch) | |
tree | 7dfea88add28ca548e35fdda254a5498412d72c7 /meta/recipes-graphics/xorg-xserver/xserver-xorg | |
parent | 74adb14b0002e20099cc2c34e01862e8ddb8e013 (diff) | |
download | openembedded-core-contrib-2312eb1b6da67c2c7e8c968db55d99472ac29b49.tar.gz |
xserver: require sufficiently new libdrm
This fixes the check of the libdrm version in the configure script.
Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/modesetting_libdrm_requirements.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/modesetting_libdrm_requirements.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/modesetting_libdrm_requirements.patch new file mode 100644 index 0000000000..5f186cb843 --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/modesetting_libdrm_requirements.patch @@ -0,0 +1,30 @@ +From bf23db42a4e5943129501223a47b48884cdeb62f Mon Sep 17 00:00:00 2001 +From: Adam Jackson <ajax@redhat.com> +Date: Wed, 27 Jan 2016 11:50:13 -0500 +Subject: modesetting: Require sufficiently new libdrm + +Bugzilla: https://bugs.freedesktop.org/93883 +Signed-off-by: Adam Jackson <ajax@redhat.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Reviewed-by: Julien Cristau <jcristau@debian.org> + +Upstream-Status: Backport +Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com> + +diff --git a/configure.ac b/configure.ac +index ac3bb64..312fc69 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2035,8 +2035,7 @@ if test "x$XORG" = xyes; then + + if test "x$DRM" = xyes; then + dnl 2.4.46 is required for cursor hotspot support. +- PKG_CHECK_EXISTS(libdrm >= 2.4.46) +- XORG_DRIVER_MODESETTING=yes ++ PKG_CHECK_EXISTS(libdrm >= 2.4.46, XORG_DRIVER_MODESETTING=yes, XORG_DRIVER_MODESETTING=no) + fi + + AC_SUBST([XORG_LIBS]) +-- +cgit v0.10.2 + |