Sorry for delay. Added link to upstream patch to the comments section.
Also this is original bug report: http://www.fltk.org/str.php?L3046+P0+S0+C0+I0+E0+Q3046