summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/atk/atk/0001-Switch-from-filename-to-basename.patch38
-rw-r--r--meta/recipes-support/atk/atk_2.28.1.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/atk/atk/0001-Switch-from-filename-to-basename.patch b/meta/recipes-support/atk/atk/0001-Switch-from-filename-to-basename.patch
new file mode 100644
index 0000000000..047e81fb61
--- /dev/null
+++ b/meta/recipes-support/atk/atk/0001-Switch-from-filename-to-basename.patch
@@ -0,0 +1,38 @@
1Upstream-Status: Submitted
2
3From 0330251715fee908f2f162565d4fa1df5030d0c0 Mon Sep 17 00:00:00 2001
4From: Jeremy Puhlman <jpuhlman@mvista.com>
5Date: Thu, 14 Jun 2018 17:21:49 +0000
6Subject: [PATCH] Switch from filename to basename
7
8When atk-enum-types.h is installed in to a system, the user likely has
9no access to the location where the headers were built, especially if
10the software was built in a sysroot environment. If the headers were
11built for a mulitlib environment, the build pathing may be different.
12Subsequently, if two mulitlib variants of atk are installed together the
13headers conflict for no other reason then they were built in two
14different locations. Switching from filename to basename, still should
15provide sufficient information on the providence of the enums, while not
16conflicting for really no good reason.
17
18Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
19---
20 atk/atk-enum-types.h.template | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/atk/atk-enum-types.h.template b/atk/atk-enum-types.h.template
24index 7b4cec4..8321c24 100644
25--- a/atk/atk-enum-types.h.template
26+++ b/atk/atk-enum-types.h.template
27@@ -14,7 +14,7 @@ G_BEGIN_DECLS
28
29 /*** BEGIN file-production ***/
30
31-/* enumerations from "@filename@" */
32+/* enumerations from "@basename@" */
33 /*** END file-production ***/
34
35 /*** BEGIN value-header ***/
36--
372.14.1.459.g238e487
38
diff --git a/meta/recipes-support/atk/atk_2.28.1.bb b/meta/recipes-support/atk/atk_2.28.1.bb
index 657c69d576..a051247d8f 100644
--- a/meta/recipes-support/atk/atk_2.28.1.bb
+++ b/meta/recipes-support/atk/atk_2.28.1.bb
@@ -27,6 +27,7 @@ EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'Tr
27 27
28SRC_URI_append = " \ 28SRC_URI_append = " \
29 file://0001-meson.build-enable-introspection-for-cross-compile.patch \ 29 file://0001-meson.build-enable-introspection-for-cross-compile.patch \
30 file://0001-Switch-from-filename-to-basename.patch \
30 " 31 "
31SRC_URI[archive.md5sum] = "dfb5e7474220afa3f4ca7e45af9f3a11" 32SRC_URI[archive.md5sum] = "dfb5e7474220afa3f4ca7e45af9f3a11"
32SRC_URI[archive.sha256sum] = "cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc" 33SRC_URI[archive.sha256sum] = "cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc"