diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-09 08:16:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-13 16:52:24 +0100 |
commit | c1c263eba2949d2cc58066de846ed33f65edcade (patch) | |
tree | cf895f75f749797707c008e0fb71de24bdc2bce5 | |
parent | 40d55d80ca307637aaa6d70e8fe1749aeec284b9 (diff) | |
download | poky-c1c263eba2949d2cc58066de846ed33f65edcade.tar.gz |
webkitgtk: Add missing header locale.h
This fixes build issues seen on mips, but problem is generic
(From OE-Core rev: 08c06980648d3f72cddbf62a96d6915f5d54b94e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/add_missing_include.patch | 19 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.36.0.bb | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/add_missing_include.patch b/meta/recipes-sato/webkit/webkitgtk/add_missing_include.patch new file mode 100644 index 0000000000..8f59db3130 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/add_missing_include.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Include locale.h for LC_MESSAGE definition | ||
2 | |||
3 | This fixes build error | ||
4 | Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp:115:51: error: use of undeclared identifier 'LC_MESSAGES' | ||
5 | return g_variant_new_string(setlocale(LC_MESSAGES, nullptr)); | ||
6 | ^ | ||
7 | Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=239030] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | |||
10 | --- a/Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp | ||
11 | +++ b/Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp | ||
12 | @@ -30,6 +30,7 @@ | ||
13 | #include "FrameView.h" | ||
14 | #include "Page.h" | ||
15 | #include <glib/gi18n-lib.h> | ||
16 | +#include <locale.h> | ||
17 | |||
18 | namespace WebCore { | ||
19 | |||
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.36.0.bb index 09d4493370..db8a565511 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.36.0.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.36.0.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ | |||
15 | file://0001-Fix-build-without-opengl-or-es.patch \ | 15 | file://0001-Fix-build-without-opengl-or-es.patch \ |
16 | file://reproducibility.patch \ | 16 | file://reproducibility.patch \ |
17 | file://0001-When-building-introspection-files-do-not-quote-CFLAG.patch \ | 17 | file://0001-When-building-introspection-files-do-not-quote-CFLAG.patch \ |
18 | file://add_missing_include.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | SRC_URI[sha256sum] = "b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d" | 21 | SRC_URI[sha256sum] = "b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d" |