diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-08-08 08:42:07 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-28 07:51:29 +0100 |
| commit | 8cc22b745e36ddbe586e886bb7abb8af49426f00 (patch) | |
| tree | 46ad4b51086ef0c8e2b98f38b5ed8b13b04d1db5 | |
| parent | e0df847541b7d5959c97d7497e2d37a103ff974f (diff) | |
| download | poky-8cc22b745e36ddbe586e886bb7abb8af49426f00.tar.gz | |
libwpe: upgrade 1.12.0 -> 1.12.2
What’s new in libwpe 1.12.1?
- Fix pasteboard to use the generic interface by default.
- Fix memory allocation to always abort execution on failure.
What’s new in libwpe 1.12.1?
- Fix pasteboard to use the generic interface by default.
- Fix memory allocation to always abort execution on failure.
(From OE-Core rev: 89feb5d2c39bf6b01f996bba522948ebb99863c7)
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>
(cherry picked from commit 03b7bfb0f011ba812808fa353611178cd5618e81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-sato/webkit/libwpe/0001-Fix-build-failure-due-to-libc-using-libc-functions.patch | 42 | ||||
| -rw-r--r-- | meta/recipes-sato/webkit/libwpe_1.12.2.bb (renamed from meta/recipes-sato/webkit/libwpe_1.12.0.bb) | 6 |
2 files changed, 46 insertions, 2 deletions
diff --git a/meta/recipes-sato/webkit/libwpe/0001-Fix-build-failure-due-to-libc-using-libc-functions.patch b/meta/recipes-sato/webkit/libwpe/0001-Fix-build-failure-due-to-libc-using-libc-functions.patch new file mode 100644 index 0000000000..6d27b4835d --- /dev/null +++ b/meta/recipes-sato/webkit/libwpe/0001-Fix-build-failure-due-to-libc-using-libc-functions.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | From ccf8a58c3536ca0e62748e0ea477514e14d821bc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Adrian Perez de Castro <aperez@igalia.com> | ||
| 3 | Date: Thu, 4 Aug 2022 12:19:05 +0300 | ||
| 4 | Subject: [PATCH] Fix build failure due to libc++ using libc functions | ||
| 5 | |||
| 6 | Include the "alloc-private.h" header after the C++ standard library | ||
| 7 | headers. This sidesteps build failures caused by implementations of | ||
| 8 | std::map and std::string which use libc memory allocation functions | ||
| 9 | in expanded templates after they have been marked with the "poison" | ||
| 10 | pragma. | ||
| 11 | |||
| 12 | Fixes #115 | ||
| 13 | |||
| 14 | Upstream-Status: Backport | ||
| 15 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 16 | --- | ||
| 17 | src/pasteboard-generic.cpp | 9 ++++++--- | ||
| 18 | 1 file changed, 6 insertions(+), 3 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/src/pasteboard-generic.cpp b/src/pasteboard-generic.cpp | ||
| 21 | index 86fe4ee..a357027 100644 | ||
| 22 | --- a/src/pasteboard-generic.cpp | ||
| 23 | +++ b/src/pasteboard-generic.cpp | ||
| 24 | @@ -26,12 +26,15 @@ | ||
| 25 | |||
| 26 | #include "pasteboard-private.h" | ||
| 27 | |||
| 28 | -#include "alloc-private.h" | ||
| 29 | -#include <cstdlib> | ||
| 30 | -#include <cstring> | ||
| 31 | #include <map> | ||
| 32 | #include <string> | ||
| 33 | |||
| 34 | +// We need to include this header last, in order to avoid template expansions | ||
| 35 | +// from the C++ standard library happening after it forbids usage of the libc | ||
| 36 | +// memory functions. | ||
| 37 | +#include "alloc-private.h" | ||
| 38 | +#include <cstring> | ||
| 39 | + | ||
| 40 | namespace Generic { | ||
| 41 | using Pasteboard = std::map<std::string, std::string>; | ||
| 42 | } | ||
diff --git a/meta/recipes-sato/webkit/libwpe_1.12.0.bb b/meta/recipes-sato/webkit/libwpe_1.12.2.bb index ac4ee3eb23..e23a9ac32d 100644 --- a/meta/recipes-sato/webkit/libwpe_1.12.0.bb +++ b/meta/recipes-sato/webkit/libwpe_1.12.2.bb | |||
| @@ -10,8 +10,10 @@ inherit cmake features_check pkgconfig | |||
| 10 | 10 | ||
| 11 | REQUIRED_DISTRO_FEATURES = "opengl" | 11 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 12 | 12 | ||
| 13 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" | 13 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz \ |
| 14 | SRC_URI[sha256sum] = "e8eeca228a6b4c36294cfb63f7d3ba9ada47a430904a5a973b3c99c96a44c18c" | 14 | file://0001-Fix-build-failure-due-to-libc-using-libc-functions.patch \ |
| 15 | " | ||
| 16 | SRC_URI[sha256sum] = "4ac4fd0a8b562b721bffd0f46ae9f06c2b5a3114407581978be875a9d651642a" | ||
| 15 | 17 | ||
| 16 | # This is a tweak of upstream-version-is-even needed because | 18 | # This is a tweak of upstream-version-is-even needed because |
| 17 | # ipstream directory contains tarballs for other components as well. | 19 | # ipstream directory contains tarballs for other components as well. |
