mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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>
This commit is contained in:
19
meta/recipes-sato/webkit/webkitgtk/add_missing_include.patch
Normal file
19
meta/recipes-sato/webkit/webkitgtk/add_missing_include.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
Include locale.h for LC_MESSAGE definition
|
||||
|
||||
This fixes build error
|
||||
Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp:115:51: error: use of undeclared identifier 'LC_MESSAGES'
|
||||
return g_variant_new_string(setlocale(LC_MESSAGES, nullptr));
|
||||
^
|
||||
Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=239030]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
--- a/Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp
|
||||
+++ b/Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "FrameView.h"
|
||||
#include "Page.h"
|
||||
#include <glib/gi18n-lib.h>
|
||||
+#include <locale.h>
|
||||
|
||||
namespace WebCore {
|
||||
|
||||
@@ -15,6 +15,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
|
||||
file://0001-Fix-build-without-opengl-or-es.patch \
|
||||
file://reproducibility.patch \
|
||||
file://0001-When-building-introspection-files-do-not-quote-CFLAG.patch \
|
||||
file://add_missing_include.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d"
|
||||
|
||||
Reference in New Issue
Block a user