From f9ab1232e643a02f1fb6b940f6dbd40ca766e544 Mon Sep 17 00:00:00 2001 From: vasilito Date: Sat, 1 Aug 2026 13:32:32 +0300 Subject: [PATCH] mesa: drop CLOCK_MONOTONIC_RAW workaround; bump relibc pointer relibc now defines a distinct CLOCK_MONOTONIC_RAW on Redox, so the recipe's -DCLOCK_MONOTONIC_RAW=(CLOCK_MONOTONIC+1000) c_arg override (which conflicted with the header and only existed because relibc lacked the constant) is no longer needed and is removed. --- local/recipes/libs/mesa/recipe.toml | 2 +- local/sources/relibc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/local/recipes/libs/mesa/recipe.toml b/local/recipes/libs/mesa/recipe.toml index 7e5f1b311c..76fa79ab71 100644 --- a/local/recipes/libs/mesa/recipe.toml +++ b/local/recipes/libs/mesa/recipe.toml @@ -142,7 +142,7 @@ cookbook_meson \ -Dplatforms=wayland,redox \ -Degl-native-platform=redox \ -Dshader-cache=disabled \ - -Dc_args="['-include','alloca.h','-DCLOCK_MONOTONIC_RAW=(CLOCK_MONOTONIC+1000)','-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','-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=intel,amd,swrast \ -Dshared-glapi=enabled diff --git a/local/sources/relibc b/local/sources/relibc index 599627a926..8535f7b843 160000 --- a/local/sources/relibc +++ b/local/sources/relibc @@ -1 +1 @@ -Subproject commit 599627a926472b8e92a892a40f312a759857a044 +Subproject commit 8535f7b8433ca6f88f4c404a20c86a3e09275275