NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/58321: macppc 10.0 X.org server on Power Mac G4 + ATI Ragegets SIGSEGV



The following reply was made to PR xsrc/58321; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: xsrc/58321: macppc 10.0 X.org server on Power Mac G4 + ATI Ragegets
	 SIGSEGV
Date: Mon, 10 Jun 2024 22:01:01 +0900

 >  Please try the following patch, which makes sure xf86CVTMode() always
 >  fills in the name field:
 >  Index: xf86Modes.c
 >  ===================================================================
 >  RCS file:
 >  /cvsroot/xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/xf86Modes.c,v
 >  retrieving revision 1.1.1.8 diff -u -w -r1.1.1.8 xf86Modes.c
 >  --- xf86Modes.c 15 Jul 2022 02:12:51 -0000      1.1.1.8
 >  +++ xf86Modes.c 10 Jun 2024 07:08:29 -0000
 >  @@ -818,6 +818,7 @@
 >       Mode->VTotal     = libxcvt_mode_info->vtotal;
 >       Mode->VRefresh   = libxcvt_mode_info->vrefresh;
 >       Mode->Flags      = libxcvt_mode_info->mode_flags;
 >  +    xf86SetModeDefaultName(Mode);
 >   
 >       free(libxcvt_mode_info);
 >  
 >  ... untested because my builds fail elsewhere for unrelated reasons :/
 
 Thanks, I'll try it on netbsd-10 tree first.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index