pkgsrc-Bugs archive

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

Re: pkg/57056: spim and xspim run in an endless loop due to a bug in CPU/scanner.l



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/57056: spim and xspim run in an endless loop due to a bug in
 CPU/scanner.l
Date: Tue, 9 May 2023 20:45:58 +0000

 On Thu, Oct 13, 2022 at 11:55:00PM +0000, vms%usa.com@localhost wrote:
  > #if (YY_FLEX_MAJOR_VERSION==2 && YY_FLEX_MINOR_VERSION==5 && YY_FLEX_SUBMINOR_VERSION>=33)
  >   /* flex 2.5.33 flipped the polarity of this flag (sigh) */
  >   yy_init = 0;                                                                                                     
  > #else
  >   yy_init = 1;    
 
 Yeah, the problem is that these days YY_FLEX_MINOR_VERSION is 6.
 
 I've patched it, but the thing also apparently fails its own very
 basic internal tests.
 
 If it still has an upstream, you probably want to talk to them. If it
 doesn't, you may want to look for alternatives...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index