JPEG-9 changed some things from JPEG-8c. The patch to fix the emerge of FLTK is available at http://www.fltk.org/str.php?L2920
Hitting the same issue, fix works for me.
jpeg-9 is known to be broken, if you can still reproduce the bug with jpeg-9-r1, reopen the bug with complete build.log
*** This bug has been marked as a duplicate of bug 479808 ***
Created attachment 355468 [details]
Still there with media-libs/jpeg-9-r1 (never had 9 on my system actually)
Yes, fltk-1.3.2 still fails to build with jpeg-9-r1.
And jpeg-9a? Same?
Created attachment 383128 [details, diff]
Yes, fltk fails to compile against jpeg-9a. It seems that the line numbers in fltk have changed a small amount from the ones in the fltk bug report in the opening description. I'm attaching my own version of the patch (identical, just with the fixed line numbers). This one allowed for fltk-1.3.2_p10088 to compile against jpeg-9a. It also doesn't cause any problems when compiling against libjpeg-turbo-1.3.1.
patch applied to portage in 1.3.2_p10000'ish