The patch "flex-2.5.31-isatty.patch" is killing the flex of being compiled on G/NBSD. According to bug #119598, this patch is needed to build doxygen (USE=qt), and I could see this, really. The only problem I've found with this patch is the __THROW used in scan.c (the other in skel.c does not affect here). So I dropped this and it works fine here and on Linux (I tested building doxygen with USE=qt). Please, people from others BSD's, could confirm this? I'm attaching the patch that worked.
Created attachment 80064 [details, diff] flex-2.5.31-scan.c.patch There it goes.
Compiled on DragonFly with this patch. Failed without it.
The problem is that __THROW is an extra specifier that's added by glibc, so BSD systems using non-GNU libcs are breaking. Just removing it from the patch solves the problem in a quicker way. I wonder if uclibc still builds flex fine. Anyway, reassigning to base system, although I'm losing flex++ on my fbsd system with the new version, but probably it's a different problem.
Comment on attachment 80064 [details, diff] flex-2.5.31-scan.c.patch no, patch is incorrect
Which one? The one currently in portage or this one?
lol, I didn't put this "patch" to be a real patch for anything. If something is wrong, vapier did it. I was just showing this is not acceptable for us.
i meant the posted patch is wrong fixed in cvs