USE flags: -gd draw.c: In function ‘mdraw__init’: draw.c:1753:26: error: ‘TRUE’ undeclared (first use in this function) There is only one occurrence of TRUE in draw.c: #ifdef HAVE_FRIBIDI fribidi_set_mirroring (TRUE); #endif and apparently TRUE is undefined in newer fribidi headers. Replacing TRUE with 1 (I am only assuming that's the intended value) makes the compilation succeed. Tested using "./configure && make" as well.
upstream have fix this with: #ifdef HAVE_FRIBIDI #if FRIBIDI_INTERFACE_VERSION < 3 fribidi_set_mirroring (TRUE); #else fribidi_set_mirroring (1); #endif #endif I've added this patch to the ebuild. Thanks.