From: Alexander Kanavin Date: Mon, 22 Dec 2025 20:44:27 +0000 (+0100) Subject: wpebackend-fdo: upgrade 1.16.0 -> 1.16.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1a1cb2f0e7da721f1fdc3c9d85498dc95bdeb07;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git wpebackend-fdo: upgrade 1.16.0 -> 1.16.1 Add a patch to fix musl failures. Signed-off-by: Alexander Kanavin Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-sato/webkit/wpebackend-fdo/0001-src-ws-egl.cpp-add-missing-unistd.h-header.patch b/meta/recipes-sato/webkit/wpebackend-fdo/0001-src-ws-egl.cpp-add-missing-unistd.h-header.patch new file mode 100644 index 00000000000..ccb79cfd8f5 --- /dev/null +++ b/meta/recipes-sato/webkit/wpebackend-fdo/0001-src-ws-egl.cpp-add-missing-unistd.h-header.patch @@ -0,0 +1,36 @@ +From cc7c8ef7b92849ad97f402f51d88bc6136a1eb9b Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Fri, 19 Dec 2025 15:00:16 +0100 +Subject: [PATCH] src/ws-egl.cpp: add missing unistd.h header + +This addresses build failures with musl: + +| ../../../../../../workspace/sources/wpebackend-fdo/src/ws-egl.cpp: In destructor 'virtual WS::ImplEGL::~ImplEGL()': +| ../../../../../../workspace/sources/wpebackend-fdo/src/ws-egl.cpp:83:9: error: 'close' was not declared in this scope; did you mean 'clone'? +| 83 | close(m_dmabuf.formatTable.fd); +| | ^~~~~ +| | clone +| ../../../../../../workspace/sources/wpebackend-fdo/src/ws-egl.cpp: In member function 'void WS::ImplEGL::initFormatTable()': +| ../../../../../../workspace/sources/wpebackend-fdo/src/ws-egl.cpp:397:15: error: 'ftruncate' was not declared in this scope; did you mean 'strncat'? +| 397 | ret = ftruncate(fd, size); +| | ^~~~~~~~~ +| | strncat + +Upstream-Status: Submitted [https://github.com/Igalia/WPEBackend-fdo/pull/203] +Signed-off-by: Alexander Kanavin +--- + src/ws-egl.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ws-egl.cpp b/src/ws-egl.cpp +index 76d6194..cc7a8f2 100644 +--- a/src/ws-egl.cpp ++++ b/src/ws-egl.cpp +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #ifndef EGL_WL_bind_wayland_display + #define EGL_WAYLAND_BUFFER_WL 0x31D5 diff --git a/meta/recipes-sato/webkit/wpebackend-fdo_1.16.0.bb b/meta/recipes-sato/webkit/wpebackend-fdo_1.16.1.bb similarity index 77% rename from meta/recipes-sato/webkit/wpebackend-fdo_1.16.0.bb rename to meta/recipes-sato/webkit/wpebackend-fdo_1.16.1.bb index aa6c58d1766..11a1ce6bd78 100644 --- a/meta/recipes-sato/webkit/wpebackend-fdo_1.16.0.bb +++ b/meta/recipes-sato/webkit/wpebackend-fdo_1.16.1.bb @@ -12,8 +12,10 @@ inherit meson features_check pkgconfig REQUIRED_DISTRO_FEATURES = "opengl" -SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "beddf321232d5bd08106c179dbc600f8ce88eb3620b4a59a6329063b78f64635" +SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz \ + file://0001-src-ws-egl.cpp-add-missing-unistd.h-header.patch \ + " +SRC_URI[sha256sum] = "544ae14012f8e7e426b8cb522eb0aaaac831ad7c35601d1cf31d37670e0ebb3b" # Especially helps compiling with clang which enable this as error when # using c++11