cairo: improve the Blackfin build fix
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 23 Feb 2014 22:58:06 +0000 (23:58 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 24 Feb 2014 07:58:23 +0000 (08:58 +0100)
commit848c5b948092c7904a53119e7760e61c391667e9
tree8d8b381fb8eb3657a4f9b6b4e11a449f5697ebd1
parent46831ea58a41e042cb2cd6005fd8269f4ef0d047
cairo: improve the Blackfin build fix

Patch cairo-001-blackfin-build-fix.patch was added in commit
d372d0b6777f52cd493dc0a892593d4390536ec5 ('cairo: add patch to fix
Blackfin build failure') to take into account the fact that Blackfin
has a non-empty USER_LABEL_PREFIX: C symbol 'foo' corresponds to
assembly symbol '_foo', contrary to most other architectures where
they are the same.

However, the patch was only fixing the relevant macros in
src/cairo-compiler-private.h and did not take into account the
duplicated version of these macros in
util/cairo-script/cairo-script-private.h. This commit fixes that.

This commit is fixing a build failure on Blackfin, for which there was
no recorded autobuilder result because this problem was hidden by the
problem fixed by the previous commit ('cairo: fix build on Blackfin in
test/cairo-test-runner.c').

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cairo/cairo-001-blackfin-build-fix.patch