From c27a090f9dbc727660cc3d526ac68b3484070555 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 9 Apr 2025 17:32:20 +0200 Subject: [PATCH] mi: temporary workaround for intel driver xf86-video-intel driver is the only one that hasn't been kept up-to-date yet and still using "GC" typedef directly (instead of GCPtr), which had been renamed by previous commits. Will be removed again, once intel driver is fixed. See: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1393 Signed-off-by: Enrico Weigelt, metux IT consult --- mi/migc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mi/migc.h b/mi/migc.h index add601a94..b3fd34ea0 100644 --- a/mi/migc.h +++ b/mi/migc.h @@ -29,6 +29,13 @@ from The Open Group. #ifndef _MIGC_H #define _MIGC_H +/* temporary workaround for intel driver. will be removed once + the drivers had been fixed not to use "GC" anymore. + + see: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1393 +*/ +typedef GCRec GC; + extern _X_EXPORT void miChangeGC(GCPtr pGC, unsigned long mask);