diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-proto/xcb-proto/0001-xcb-proto.pc.in-reinstate-libdir.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto/0001-xcb-proto.pc.in-reinstate-libdir.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto/0001-xcb-proto.pc.in-reinstate-libdir.patch b/meta/recipes-graphics/xorg-proto/xcb-proto/0001-xcb-proto.pc.in-reinstate-libdir.patch new file mode 100644 index 0000000000..fe0a96c207 --- /dev/null +++ b/meta/recipes-graphics/xorg-proto/xcb-proto/0001-xcb-proto.pc.in-reinstate-libdir.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From ed499cffabe64fc1dc5898cb69ffa7e62c19e9d8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Tue, 5 Jul 2022 21:19:20 +0200 | ||
4 | Subject: [PATCH] xcb-proto.pc.in: reinstate libdir | ||
5 | |||
6 | Otherwise the following occurs when building libxcb: | ||
7 | | checking for xcb-proto >= 1.14... no | ||
8 | | configure: error: Package requirements (xcb-proto >= 1.14) were not met: | ||
9 | | | ||
10 | | Variable 'libdir' not defined in '/srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/libxcb/1.15-r0/recipe-sysroot/usr/share/pkgconfig/xcb-proto.pc' | ||
11 | |||
12 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/31] | ||
13 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
14 | --- | ||
15 | xcb-proto.pc.in | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/xcb-proto.pc.in b/xcb-proto.pc.in | ||
19 | index 0822b18..c7c8b47 100644 | ||
20 | --- a/xcb-proto.pc.in | ||
21 | +++ b/xcb-proto.pc.in | ||
22 | @@ -2,6 +2,7 @@ prefix=@prefix@ | ||
23 | exec_prefix=@exec_prefix@ | ||
24 | datarootdir=@datarootdir@ | ||
25 | datadir=@datadir@ | ||
26 | +libdir=@libdir@ | ||
27 | xcbincludedir=${pc_sysrootdir}@xcbincludedir@ | ||
28 | PYTHON_PREFIX=@PYTHON_PREFIX@ | ||
29 | pythondir=${pc_sysrootdir}@pythondir@ | ||