feather/contrib/depends/patches/qt/xcb-util-image-fix.patch
2023-06-28 16:04:03 +02:00

31 lines
976 B
Diff

undefined reference to `xcb_aux_create_gc'
diff --git a/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake b/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake
index dc60289401..703f7739d8 100644
--- a/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake
+++ b/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake
@@ -108,7 +108,6 @@ set(XCB_known_components
EWMH
GLX
ICCCM
- IMAGE
KEYSYMS
PRESENT
RANDR
@@ -118,6 +117,7 @@ set(XCB_known_components
SCREENSAVER
SYNC
UTIL
+ IMAGE
XEVIE
XF86DRI
XINERAMA
@@ -142,7 +142,7 @@ endforeach()
set(XCB_XCB_component_deps)
set(XCB_COMPOSITE_component_deps XCB XFIXES)
set(XCB_DAMAGE_component_deps XCB XFIXES)
-set(XCB_IMAGE_component_deps XCB SHM)
+set(XCB_IMAGE_component_deps XCB SHM UTIL)
set(XCB_RENDERUTIL_component_deps XCB RENDER)
set(XCB_XFIXES_component_deps XCB RENDER SHAPE)
set(XCB_XVMC_component_deps XCB XV)