From 47c6cd5b5766ab7204c7c8b5756eb31d862736f3 Mon Sep 17 00:00:00 2001 From: vasilito Date: Fri, 24 Jul 2026 16:38:45 +0900 Subject: [PATCH] mesa: map CLOCK_MONOTONIC_RAW to CLOCK_MONOTONIC (Redox relibc lacks RAW) Vulkan WSI (wsi_common_wayland.c) uses CLOCK_MONOTONIC_RAW, which relibc does not define (undeclared). Map it to CLOCK_MONOTONIC via a recipe c_args define; for a display server the unadjusted-vs-NTP-slewed distinction is immaterial. Third Redox mesa port gap. --- local/recipes/libs/mesa/recipe.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/recipes/libs/mesa/recipe.toml b/local/recipes/libs/mesa/recipe.toml index d458fe19d7..2f9c026e2b 100644 --- a/local/recipes/libs/mesa/recipe.toml +++ b/local/recipes/libs/mesa/recipe.toml @@ -96,7 +96,7 @@ cookbook_meson \ -Dplatforms=wayland \ -Degl-native-platform=surfaceless \ -Dshader-cache=disabled \ - -Dc_args="['-include','alloca.h','-Wno-error=implicit-function-declaration','-Wno-error=missing-prototypes','-Wno-error=return-type','-Wno-error=empty-body','-Wno-error=incompatible-pointer-types','-Wno-error=int-conversion','-Wno-error=format','-Wno-error','-std=gnu11','-Dstatic_assert=_Static_assert']" \ + -Dc_args="['-include','alloca.h','-DCLOCK_MONOTONIC_RAW=CLOCK_MONOTONIC','-Wno-error=implicit-function-declaration','-Wno-error=missing-prototypes','-Wno-error=return-type','-Wno-error=empty-body','-Wno-error=incompatible-pointer-types','-Wno-error=int-conversion','-Wno-error=format','-Wno-error','-std=gnu11','-Dstatic_assert=_Static_assert']" \ -Dcpp_args="['-include','alloca.h','-Wno-error=implicit-function-declaration','-Wno-error=missing-prototypes','-Wno-error=return-type','-Wno-error=empty-body','-Wno-error=incompatible-pointer-types','-Wno-error=int-conversion','-Wno-error=format','-Wno-error']" \ -Dvulkan-drivers=swrast \ -Dshared-glapi=enabled