summarylogtreecommitdiffstats
path: root/0009-Fix-dependency-of-xcb-image-on-xcb-util.patch
blob: 5ca855512d07a4f424027f08f8eb4700bdb94a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 85b2822b7e27f2af455a3a762e4341928df5d6f1 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 24 Apr 2022 23:49:36 +0200
Subject: [PATCH 09/18] Fix dependency of xcb-image on xcb-util

Considering this linker error, xcb-image apparently depends on xcb-util:
```
/usr/bin/ld: /usr/static-compat/lib/libxcb-image.a(xcb_image.o): in function `xcb_create_pixmap_from_bitmap_data':
(.text+0x14b7): undefined reference to `xcb_aux_create_gc'
```

Change-Id: Ic87a94ec664c126a5af1012d31b068d3dc7ec947
---
 cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake b/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake
index 26b9bf89633..0ae21f774c6 100644
--- a/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake
+++ b/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake
@@ -108,6 +108,7 @@ set(XCB_known_components
     EWMH
     GLX
     ICCCM
+    UTIL
     IMAGE
     KEYSYMS
     PRESENT
@@ -117,7 +118,6 @@ set(XCB_known_components
     RES
     SCREENSAVER
     SYNC
-    UTIL
     XEVIE
     XF86DRI
     XINERAMA
@@ -145,7 +145,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)
-- 
2.47.1