* updated tzdata (2024a -> 2024b)
[t2sde.git] / package / xorg / xorg-server / hotfix-libxcvt-mode.patch
blobc67f456e0744af29a0aab6e1efb65b74ecbd10af
1 diff --git a/hw/xfree86/modes/xf86cvt.c b/hw/xfree86/modes/xf86cvt.c
2 index be5021c89..f617c2ace 100644
3 --- a/hw/xfree86/modes/xf86Modes.c
4 +++ b/hw/hw/xfree86/modes/xf86Modes.c
5 @@ -273,9 +273,12 @@ xf86CVTMode(int HDisplay, int VDisplay, float VRefresh, Bool Reduced,
6 Mode->VSyncStart = libxcvt_mode_info->vsync_start;
7 Mode->VSyncEnd = libxcvt_mode_info->vsync_end;
8 Mode->VTotal = libxcvt_mode_info->vtotal;
9 + Mode->HSync = libxcvt_mode_info->hsync;
10 Mode->VRefresh = libxcvt_mode_info->vrefresh;
11 Mode->Flags = libxcvt_mode_info->mode_flags;
13 + XNFasprintf((char**)&Mode->name, "%dx%d", HDisplay, VDisplay);
15 free(libxcvt_mode_info);
17 return Mode;