diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-29 08:02:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 21:37:47 +0100 |
commit | 0609f4fee30494792d7c5b9e9113a6275dc93d1c (patch) | |
tree | b123ffad3ab0701eb7f3a9aa44466337d959e959 /meta | |
parent | 69b588ea2ad37f6c798aee8e49c5b375e52b7e81 (diff) | |
download | poky-0609f4fee30494792d7c5b9e9113a6275dc93d1c.tar.gz |
xtrans: Fix multilib .pc file conflict
Error: Transaction check error:
file /usr/share/pkgconfig/xtrans.pc from install of lib32-xtrans-dev-1:1.3.5-r0.core2_32 conflicts with file from package xtrans-dev-1:1.3.5-r0.core2_64
[YOCTO #12511]
(From OE-Core rev: e20da6dec99c4d2e6b803b07f8f79af0c54d1396)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/xtrans/multilibfix.patch | 18 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/xtrans_1.3.5.bb | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/xtrans/multilibfix.patch b/meta/recipes-graphics/xorg-lib/xtrans/multilibfix.patch new file mode 100644 index 0000000000..c513bad20e --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/xtrans/multilibfix.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | The xtrans.pc file is installed into a non-arch directory yet contains libdir | ||
2 | which can vary depending on which multilib is configured. The .pc file does | ||
3 | not require libdir so remove this to fix multilib builds. | ||
4 | |||
5 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Index: xtrans-1.3.5/xtrans.pc.in | ||
9 | =================================================================== | ||
10 | --- xtrans-1.3.5.orig/xtrans.pc.in | ||
11 | +++ xtrans-1.3.5/xtrans.pc.in | ||
12 | @@ -1,6 +1,5 @@ | ||
13 | prefix=@prefix@ | ||
14 | exec_prefix=@exec_prefix@ | ||
15 | -libdir=@libdir@ | ||
16 | includedir=@includedir@ | ||
17 | |||
18 | Name: XTrans | ||
diff --git a/meta/recipes-graphics/xorg-lib/xtrans_1.3.5.bb b/meta/recipes-graphics/xorg-lib/xtrans_1.3.5.bb index d5b7f1a2c6..200716fb02 100644 --- a/meta/recipes-graphics/xorg-lib/xtrans_1.3.5.bb +++ b/meta/recipes-graphics/xorg-lib/xtrans_1.3.5.bb | |||
@@ -12,6 +12,8 @@ require xorg-lib-common.inc | |||
12 | LICENSE = "MIT & MIT-style" | 12 | LICENSE = "MIT & MIT-style" |
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=49347921d4d5268021a999f250edc9ca" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=49347921d4d5268021a999f250edc9ca" |
14 | 14 | ||
15 | SRC_URI += "file://multilibfix.patch" | ||
16 | |||
15 | PE = "1" | 17 | PE = "1" |
16 | 18 | ||
17 | RDEPENDS_${PN}-dev = "" | 19 | RDEPENDS_${PN}-dev = "" |