pixman: fix patch for FE_DIVBYZERO detection
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 23 Feb 2014 10:08:25 +0000 (11:08 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 23 Feb 2014 11:30:02 +0000 (12:30 +0100)
commitcb7c12f58cb58b0ea14d2a49b009676ddefec98f
treec1c21bca2caf61703eca29837dfc4ea6eb899e24
parent70ee9fcdfcf6fc7cb214e454afe55cbffec84621
pixman: fix patch for FE_DIVBYZERO detection

In commit a9baea4345625f6f00fc59395faec83e08346015 ('pixman: add patch
to fix Microblaze build failure'), a patch is added to the pixman
package to avoid using the FE_DIVBYZERO definition when it is not
available. However, it was using the have_fe_divbyzero variable to
define or not HAVE_FEDIVBYZERO, while the AC_CHECK_DECL autoconf macro
sets the ac_cv_have_decl_FE_DIVBYZERO variable.

The end result was that the FE_DIVBYZERO macro was considered as never
being available. This commit fixes that by using the appropriate
variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pixman/pixman-02-check-fe-divbyzero.patch