diff options
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto/0001-Fix-install-conflict-when-enable-multilib.patch | 32 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto/0001-Fix-install-conflict-when-enable-multilib.patch b/meta/recipes-graphics/xorg-proto/xcb-proto/0001-Fix-install-conflict-when-enable-multilib.patch new file mode 100644 index 0000000000..4209139da8 --- /dev/null +++ b/meta/recipes-graphics/xorg-proto/xcb-proto/0001-Fix-install-conflict-when-enable-multilib.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From fc28149b6b198042c8d29e0931415adad7ed3231 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wang Mingyu <wangmy@fujitsu.com> | ||
3 | Date: Thu, 16 Mar 2023 08:03:47 +0000 | ||
4 | Subject: [PATCH] Fix install conflict when enable multilib. | ||
5 | |||
6 | Automake defines pythondir in terms of libdir (rather than hardcode 'lib' or query it from python as automake upstream does) | ||
7 | https://git.yoctoproject.org/poky/tree/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch | ||
8 | |||
9 | So libdir needs to be defined when pythondir is defined. | ||
10 | |||
11 | Upstream-Status: Inappropriate | ||
12 | |||
13 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
14 | --- | ||
15 | Makefile.am | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/Makefile.am b/Makefile.am | ||
19 | index 8b57a83..580f5bc 100644 | ||
20 | --- a/Makefile.am | ||
21 | +++ b/Makefile.am | ||
22 | @@ -1,6 +1,6 @@ | ||
23 | SUBDIRS = src xcbgen | ||
24 | |||
25 | -pkgconfigdir = $(datarootdir)/pkgconfig | ||
26 | +pkgconfigdir = $(libdir)/pkgconfig | ||
27 | pkgconfig_DATA = xcb-proto.pc | ||
28 | |||
29 | EXTRA_DIST=doc xcb-proto.pc.in autogen.sh README.md | ||
30 | -- | ||
31 | 2.34.1 | ||
32 | |||
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb index 4e4472a9c1..e60e7958a7 100644 --- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb +++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb | |||
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 \ | |||
13 | 13 | ||
14 | SRC_URI = "https://xorg.freedesktop.org/archive/individual/proto/${BP}.tar.xz \ | 14 | SRC_URI = "https://xorg.freedesktop.org/archive/individual/proto/${BP}.tar.xz \ |
15 | file://0001-xcb-proto.pc.in-reinstate-libdir.patch \ | 15 | file://0001-xcb-proto.pc.in-reinstate-libdir.patch \ |
16 | file://0001-Fix-install-conflict-when-enable-multilib.patch \ | ||
16 | " | 17 | " |
17 | SRC_URI[sha256sum] = "7072beb1f680a2fe3f9e535b797c146d22528990c72f63ddb49d2f350a3653ed" | 18 | SRC_URI[sha256sum] = "7072beb1f680a2fe3f9e535b797c146d22528990c72f63ddb49d2f350a3653ed" |
18 | 19 | ||