소스 검색

package/x11r7/xdriver_xf86-video-ati: Depends on xlib_libXcomposite

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>
Bernd Kuhls 10 년 전
부모
커밋
0ebec4d807
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      package/x11r7/xdriver_xf86-video-ati/Config.in
  2. 1 0
      package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk

+ 1 - 0
package/x11r7/xdriver_xf86-video-ati/Config.in

@@ -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

+ 1 - 0
package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk

@@ -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 \