diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-03-09 16:19:42 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-11 00:08:40 +0000 |
| commit | 6e7cf978544ada9114e780df3564509095dbe2cc (patch) | |
| tree | 5d38b9e7ae088b58c36e67f7d9f3e3632a9ce29f /meta/recipes-graphics/xorg-util | |
| parent | fafdbef0accf32e89095b2bc9314d56d3d383f79 (diff) | |
| download | poky-6e7cf978544ada9114e780df3564509095dbe2cc.tar.gz | |
util-macros: do not probe into host triplet when checking manpage section names
This does not work for allarch recipes in particular
(config.sub rejects allarch-poky-linux).
(From OE-Core rev: f41be046ff26ecbbab9342ee62dbf39df4596da7)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-util')
| -rw-r--r-- | meta/recipes-graphics/xorg-util/util-macros/0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-util/util-macros/0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch b/meta/recipes-graphics/xorg-util/util-macros/0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch new file mode 100644 index 0000000000..e08b586bf0 --- /dev/null +++ b/meta/recipes-graphics/xorg-util/util-macros/0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 6afaaf164ab9370204856961a92ad8ee523a8293 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Fri, 3 Mar 2023 13:24:58 +0100 | ||
| 4 | Subject: [PATCH] xorg-macros.m4.in: do not run AC_CANONICAL_HOST in manpage | ||
| 5 | section macro | ||
| 6 | |||
| 7 | This doesn't work when building allarch items, as it calls into | ||
| 8 | config.sub with the host triplet, and config.sub can't match | ||
| 9 | it against any architeture it knows. | ||
| 10 | |||
| 11 | Upstream-Status: Inappropriate [oe specific] | ||
| 12 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 13 | --- | ||
| 14 | xorg-macros.m4.in | 1 - | ||
| 15 | 1 file changed, 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in | ||
| 18 | index 3b8b8e9..6541236 100644 | ||
| 19 | --- a/xorg-macros.m4.in | ||
| 20 | +++ b/xorg-macros.m4.in | ||
| 21 | @@ -111,7 +111,6 @@ AC_SUBST(TRADITIONALCPPFLAGS) | ||
| 22 | # Added AC_PROG_SED in version 1.8 | ||
| 23 | |||
| 24 | AC_DEFUN([XORG_MANPAGE_SECTIONS],[ | ||
| 25 | -AC_REQUIRE([AC_CANONICAL_HOST]) | ||
| 26 | AC_REQUIRE([AC_PROG_SED]) | ||
| 27 | |||
| 28 | case $host_os in | ||
diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb b/meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb index 60495ad0c8..cd4bc387a2 100644 --- a/meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb +++ b/meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb | |||
| @@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=42ba50748cb7ccf8739424e5e2072b02" | |||
| 9 | 9 | ||
| 10 | PE = "1" | 10 | PE = "1" |
| 11 | 11 | ||
| 12 | SRC_URI += "file://0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch" | ||
| 13 | |||
| 12 | SRC_URI[sha256sum] = "8daf36913d551a90fd1013cb078401375dabae021cb4713b9b256a70f00eeb74" | 14 | SRC_URI[sha256sum] = "8daf36913d551a90fd1013cb078401375dabae021cb4713b9b256a70f00eeb74" |
| 13 | 15 | ||
| 14 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies | 16 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies |
