the current version 3.4.10 of app-doc/doc++ is from 2002 o_O in between something has changed in flex, such that the current doc++ package does not compile. i've found a patch via google: http://svn.exactcode.de/t2/trunk/package/develop/docpp/flex-hotfix.patch i've renamed the patch to doc++-3.4.10-flex.patch and updated the 3.4.10 ebuild to 3.4.10-r1 (i'll attach it here) the patched version works. tested on x86. but since the problem seems to be an issue with the flex-syntax, i would assume it applies to all platforms.
Created attachment 84950 [details] the updated ebuild 3.4.10-r1 with the patch attached the new ebuild
Created attachment 84951 [details, diff] the patch the patch - i've stripped the comments but i don't know if that actually a good idea, because it contained the license - does a patch need a license? well - luckily i'm no maintainer... ;)
Here's an alternate patch. It doesn't change the output of the program at all. --- docify.ll.old 2006-04-28 10:30:43.634423500 -0600 +++ docify.ll 2006-04-28 10:30:51.826935500 -0600 @@ -314,7 +314,7 @@ { if(argv[1][0] == '-') { - fprintf(stderr, "Usage: docify [infile [outfile]]\n"); + fprintf(stderr, "Usage: docify [infile [outfile]""]\n"); return 0; } ain = fopen(argv[1], "r"); I hereby certify that I am the original author of this patch, and I release it to the public domain.
I can verify that the patch works fine and allows doc++-3.4.10-r1.ebuild to compile on x86. doc++-3.4.10.ebuild is the current (and only) doc++ ebuild which doesn't compile on current stable systems, thus blocking any package that depends on doc++.
I'll commit this in a minute.
in cvs
and closing bug.