pkgsrc-Bugs archive

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

Re: pkg/36807 (net/irrtoolset-nox11 fails to build on netbsd 4.0beta2 (and -current too))



Synopsis: net/irrtoolset-nox11 fails to build on netbsd 4.0beta2 (and -current 
too)

State-Changed-From-To: open->closed
State-Changed-By: spz%netbsd.org@localhost
State-Changed-When: Fri, 07 Sep 2007 21:41:01 +0000
State-Changed-Why:
the problem with compiling on 4.0 and -current is our lex, not Buffer.hh;
IRRToolSet-4.8.5nb2 that I just committed contains

--- src/rpsl/rpsl/rpsl.l.orig   2006-10-01 13:23:32.000000000 +0200
+++ src/rpsl/rpsl/rpsl.l
@@ -751,7 +755,7 @@ void yy_scan_object(Object *o) {
 
    if (rpsl_buffer)
       yy_delete_buffer(rpsl_buffer);
-   rpsl_buffer = yy_scan_bytes(o->contents, o->size);
+   rpsl_buffer = yy_scan_bytes(o->contents, (yy_size_t)o->size);
    BEGIN(INITIAL);
 }   
 
which takes care of the problem.






Home | Main Index | Thread Index | Old Index