pixman: fix patch for FE_DIVBYZERO detection
PATCH 1/1 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.
--- package/pixman/pixman-02-check-fe-divbyzero.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/pixman/pixman-02-check-fe-divbyzero.patch +1 -1
@@ -16,7 +16,7 @@ Index: b/configure.ac fi +AC_CHECK_DECL([FE_DIVBYZERO], [], [], [[#include <fenv.h>]]) -+if test x$have_fe_divbyzero = xyes; then ++if test x$ac_cv_have_decl_FE_DIVBYZERO = xyes; then + AC_DEFINE(HAVE_FEDIVBYZERO, 1, [Whether we have FE_DIVBYZERO]) +fi +
Signature · 1 line
1.8.3.2
PATCH 1/1 pixman: fix patch for FE_DIVBYZERO detection
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
In commit
a9baea4345625f6f00fc59395faec83e08346015('pixman: add patch to fix Microblaze build failure'), a patch is added to the pixman package to avoid using theFE_DIVBYZEROdefinition when it is not available. However, it was using thehave_fe_divbyzerovariable to define or notHAVE_FEDIVBYZERO, while theAC_CHECK_DECLautoconf macro sets theac_cv_have_decl_FE_DIVBYZEROvariable.
Quoted 5 lines
The end result was that the
FE_DIVBYZEROmacro was considered as never being available. This commit fixes that by using the appropriate variable.Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard