diff options
| -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 = "" |
