From 967d0f89726d17eb4e0b3dcded163e1231ff74ce Mon Sep 17 00:00:00 2001 From: Vasilito Date: Sat, 18 Apr 2026 21:36:33 +0100 Subject: [PATCH] Skip libwayland debug print path on Redox Avoid a non-essential debug-only formatting dependency in the WIP Redox libwayland build so the verified relibc compatibility slice is not blocked by wl_closure_print diagnostics. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- recipes/wip/wayland/libwayland/redox.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/recipes/wip/wayland/libwayland/redox.patch b/recipes/wip/wayland/libwayland/redox.patch index c93e1404..cd3e41ba 100644 --- a/recipes/wip/wayland/libwayland/redox.patch +++ b/recipes/wip/wayland/libwayland/redox.patch @@ -71,3 +71,20 @@ diff --git a/src/connection.c b/src/connection.c #include "wayland-util.h" #include "wayland-private.h" #include "wayland-os.h" +@@ -1503,6 +1510,15 @@ + wl_closure_print(struct wl_closure *closure, struct wl_object *target, + int send, int discarded, uint32_t (*n_parse)(union wl_argument *arg), + const char *queue_name) + { ++#ifdef __redox__ ++ (void)closure; ++ (void)target; ++ (void)send; ++ (void)discarded; ++ (void)n_parse; ++ (void)queue_name; ++ return; ++#endif + int i; + struct argument_details arg; + const char *signature = closure->message->signature;