wxGTK-2.4.2 uses freetype internals. I have attached patches for ebuild and source code to correct this problem.
Created attachment 99046 [details, diff] patch for ebuild
Created attachment 99047 [details, diff] patch for source code
Well, "internals" was wrong. It's some kind of API change in freetype 2.2.1 or so. Anyway, it compiles with this patch. Another approach to the problem can be found here: http://mail-index.netbsd.org/pkgsrc-bugs/2006/06/05/0005.html
Is wxGTK-2.6 affected, as 2.4 is being phased out and no fixes are planned for it?
No, 2.6 compiles fine. Also I don't seem to have any package left on my system that requires wxGTK-2.4.
Mart, I applied this patch conditionally on freetype version in wxGTK-2.4.2-r4.ebuild (no need to revbump) because wxperl depends on wxGTK-2.4 even though they don't realize it yet. Thanks for the patch, Rene