summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-03-09 16:19:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-11 00:08:40 +0000
commit6e7cf978544ada9114e780df3564509095dbe2cc (patch)
tree5d38b9e7ae088b58c36e67f7d9f3e3632a9ce29f /meta/recipes-graphics
parentfafdbef0accf32e89095b2bc9314d56d3d383f79 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-graphics/xorg-util/util-macros/0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch28
-rw-r--r--meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb2
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 @@
1From 6afaaf164ab9370204856961a92ad8ee523a8293 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 3 Mar 2023 13:24:58 +0100
4Subject: [PATCH] xorg-macros.m4.in: do not run AC_CANONICAL_HOST in manpage
5 section macro
6
7This doesn't work when building allarch items, as it calls into
8config.sub with the host triplet, and config.sub can't match
9it against any architeture it knows.
10
11Upstream-Status: Inappropriate [oe specific]
12Signed-off-by: Alexander Kanavin <alex@linutronix.de>
13---
14 xorg-macros.m4.in | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
18index 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
10PE = "1" 10PE = "1"
11 11
12SRC_URI += "file://0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch"
13
12SRC_URI[sha256sum] = "8daf36913d551a90fd1013cb078401375dabae021cb4713b9b256a70f00eeb74" 14SRC_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