diff --git a/graphics/mesa-devel/files/patch-src_intel_common_xe_intel__gem.c b/graphics/mesa-devel/files/patch-src_intel_common_xe_intel__gem.c new file mode 100644 index 000000000000..b4f8bfd180d1 --- /dev/null +++ b/graphics/mesa-devel/files/patch-src_intel_common_xe_intel__gem.c @@ -0,0 +1,12 @@ +--- src/intel/common/xe/intel_gem.c.orig 2024-06-05 23:45:33 UTC ++++ src/intel/common/xe/intel_gem.c +@@ -69,7 +69,9 @@ xe_gem_read_correlate_cpu_gpu_timestamp(int fd, + #endif + case CLOCK_REALTIME: + #ifdef CLOCK_BOOTTIME ++#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC) + case CLOCK_BOOTTIME: ++#endif + #endif + #ifdef CLOCK_TAI + case CLOCK_TAI: