[oe-commits] Andrei Gherzan : directfb: Rename __no_instrument_function__ macro to avoid conflicting redefinitions

git at git.openembedded.org git at git.openembedded.org
Mon Jan 7 13:40:41 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 3e87b2b796e2de50adcdf5ed9d777765ae8e3cee
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3e87b2b796e2de50adcdf5ed9d777765ae8e3cee

Author: Andrei Gherzan <andrei at gherzan.ro>
Date:   Sat Jan  5 18:38:13 2013 +0200

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 at gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../rename-no-instrument-function-macro.patch      |  345 ++++++++++++++++++++
 meta/recipes-graphics/directfb/directfb_1.6.1.bb   |    5 +-
 2 files changed, 348 insertions(+), 2 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=3e87b2b796e2de50adcdf5ed9d777765ae8e3cee




More information about the Openembedded-commits mailing list