]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/x11r7/xserver_xorg-server/1.19.5/0001-modesettings-needs-dri2.patch
package/x11r7/xserver_xorg-server: security bump version to 1.19.5
[coffee/buildroot.git] / package / x11r7 / xserver_xorg-server / 1.19.5 / 0001-modesettings-needs-dri2.patch
1 Kernel modesettings support also depends on dri2, see
2 http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46
3
4 Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=91584
5
6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7
8 diff -uNr xorg-server-1.17.2.org/configure.ac xorg-server-1.17.2/configure.ac
9 --- xorg-server-1.17.2.org/configure.ac 2015-06-16 17:42:40.000000000 +0200
10 +++ xorg-server-1.17.2/configure.ac     2015-08-08 10:44:59.702382624 +0200
11 @@ -2036,7 +2036,7 @@
12                 XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
13         fi
14  
15 -       if test "x$DRM" = xyes; then
16 +       if test "x$DRM" = xyes -a "x$DRI2" = xyes; then
17                 dnl 2.4.46 is required for cursor hotspot support.
18                 PKG_CHECK_EXISTS(libdrm >= 2.4.46)
19                 XORG_DRIVER_MODESETTING=yes