ncftp: bump version to 3.2.6
[buildroot-gz.git] / package / guile / 0002-calculate-csqrt_manually.patch
blob98bb0b6850b4a3a09d8b1d1ac118459380705dd9
1 Avoid using scm_from_complex_double(csqrt()) when building with uclibc.
3 Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
5 diff -Nau guile-2.0.11.orig/configure.ac guile-2.0.11/configure.ac
6 --- guile-2.0.11.orig/configure.ac 2014-03-12 14:36:02.000000000 +0100
7 +++ guile-2.0.11/configure.ac 2014-11-03 23:59:51.897267207 +0100
8 @@ -862,7 +862,7 @@
9 }]])],
10 [guile_cv_use_csqrt=yes],
11 [guile_cv_use_csqrt="no, glibc 2.3 bug"],
12 - [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])])
13 + [guile_cv_use_csqrt="no (cross-compiling)"])])
14 case $guile_cv_use_csqrt in
15 yes*)
16 AC_DEFINE([HAVE_USABLE_CSQRT], 1, [Define to 1 if csqrt is bug-free])