current highest stable version of directfb is 0.9.12
current highest stable version of libstl is 1.2.5-r1
libsdl (all stable versions I checked) use the symbol DSPF_RGB15 defined in
directfb/directfb.h. The symbol in this file was changed (see
1.163 comment) to DSPF_ARGB1555. This change causes all current stable
versions of libsdl to fail during compilation.
I found this during a fresh (stage1) install of gentoo 1.4-rc2. Any new
installs of gentoo using stable only packages and asking for libsdl seem
destined to encounter this problem. Using:
USE="-directfb" emerge sdl
seems to make no difference.
1) mark directfb-0.9.12.ebuild as developmental, causing 0.9.11-r1 to be
installed in stable boxen
2) update the libsdl sources to use the new DSPF_ARGB1555 symbol
3) manually select directfb-0.9.11-r1.ebuild
Option #3 works for me.
This ticket may be similar (but is not related) to another libsdl bug:
actually the better solution is to unmask the newer directfb
unmasking newer directfb will lead to b0rkages in a lot of places because of the library incompatibilities -- people will need to remerge everything which links to libdirectfb's so
this could just be left until libsdl-1.2.6 comes out ...
or if you look at the libsdl cvs tree, they've fixed compatibility with directfb ...
i still suggest we unmask latest directfb ;)
works with DirectFB 0.9.17 & libsdl 1.2.5-r1 here (gcc 3.2.2)