package/x11r7/xdriver_xf86-video-ati: Depends on xlib_libXcomposite
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 15 Jul 2015 18:11:53 +0000 (20:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Jul 2015 10:26:05 +0000 (12:26 +0200)
When xserver_xorg-server is built without composite support building this
package will fail:

radeon_dri2.c: In function 'radeon_dri2_copy_region2':
radeon_dri2.c:438:28: error: 'struct _Pixmap' has no member named 'screen_x'
  off_x = drawable->x - pPix->screen_x;
                            ^
radeon_dri2.c:439:28: error: 'struct _Pixmap' has no member named 'screen_y'
  off_y = drawable->y - pPix->screen_y;

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xdriver_xf86-video-ati/Config.in
package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk

index a555fa37174059a7f7c64eff9b240449626c7d80..191c20f3723519f1e1a8fc425708c76454e64379 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
        depends on BR2_PACKAGE_MESA3D
        select BR2_PACKAGE_LIBDRM        if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
        select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
+       select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
        select BR2_PACKAGE_XPROTO_FONTSPROTO
        select BR2_PACKAGE_XPROTO_GLPROTO
        select BR2_PACKAGE_XPROTO_RANDRPROTO
index ce47e498e313025c3ea2a3746f9025f6fc2bcb23..15807c26b6dd7944e06dc6df0292996dcc65e343 100644 (file)
@@ -11,6 +11,7 @@ XDRIVER_XF86_VIDEO_ATI_LICENSE = MIT
 XDRIVER_XF86_VIDEO_ATI_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \
        libdrm \
+       xlib_libXcomposite \
        xproto_fontsproto \
        xproto_glproto \
        xproto_randrproto \