0001-calculate-csqrt_manually.patch 672 B

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