]> code.ossystems Code Review - openembedded-core.git/commit
directfb: Rename __no_instrument_function__ macro to avoid conflicting redefinitions
authorAndrei Gherzan <andrei@gherzan.ro>
Sat, 5 Jan 2013 16:38:13 +0000 (18:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2013 13:28:24 +0000 (13:28 +0000)
commit3e87b2b796e2de50adcdf5ed9d777765ae8e3cee
tree4f77f8ef6401c645ffb541db43fa362a5be83699
parent3d8f35a121d54b7a1b825b266a553752e22bf708
directfb: Rename __no_instrument_function__ macro to avoid conflicting redefinitions

The macro was renamed to __dfb_no_instrument_function__ . This will avoid build
errors while compiling gst-plugins-bad with directfb support.

This happens because gstreamer uses this macro to pass it to __attribute__. So,
if we include directfb.h before, the gstreamer definition will end up:
__attribute__ ((__attribute__((no_instrument_function)))).

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/directfb/directfb/rename-no-instrument-function-macro.patch [new file with mode: 0644]
meta/recipes-graphics/directfb/directfb_1.6.1.bb