Hi,I'm not confimed with "new flex versions", but currently it simply does not compile on 5.1 - a supported version of NetBSD.
Perhaps a test for a definition of yylineno in a header file and if not defined the "normal" (old "style") definition (by placing it into the data (or better the bss) segment should be done.
best reguards W. Stukenbrock Joerg Sonnenberger wrote:
The following reply was made to PR pkg/46194; it has been noted by GNATS. From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost> To: gnats-bugs%NetBSD.org@localhostCc: Subject: Re: pkg/46194: net/gated does not compile on NetBSD 4.0 and 5.1 -bad patch file Date: Fri, 23 Mar 2012 16:35:02 +0100 On Wed, Mar 14, 2012 at 03:35:00PM +0000, Wolfgang.Stukenbrock%nagler-company.com@localhost wrote: > >Fix: > simply remove the patch file net/gated/patches/patch-src-lexer.lThat's not acceptable. yylineno is a macro by newer flex version andconflicts with the definition provided by it.Joerg
-- Dr. Nagler & Company GmbH Hauptstraße 9 92253 Schnaittenbach Tel. +49 9622/71 97-42 Fax +49 9622/71 97-50 Wolfgang.Stukenbrock%nagler-company.com@localhost http://www.nagler-company.com Hauptsitz: Schnaittenbach Handelregister: Amberg HRB Gerichtsstand: Amberg Steuernummer: 201/118/51825 USt.-ID-Nummer: DE 273143997 Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze