summaryrefslogtreecommitdiffstats
path: root/package/guile/guile-02-calculate-csqrt_manually.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-12-01 11:15:54 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-12-01 11:16:42 +0100
commitfe1b2ef1d3236ffd36e0ec033566d45fcd9ba3fb (patch)
treefd6edbe93b19b167b105897e3de6a7c11eac4f9c /package/guile/guile-02-calculate-csqrt_manually.patch
parent9a5434fbfc98a0c427c880b167b8ca3499b44e87 (diff)
parent9b47f40bb29d9be34afabfb423bab0ad45cbc11f (diff)
downloadbuildroot-fe1b2ef1d3236ffd36e0ec033566d45fcd9ba3fb.tar.gz
buildroot-fe1b2ef1d3236ffd36e0ec033566d45fcd9ba3fb.zip
Merge branch 'next'
Conflicts: Makefile package/flac/0001-fix-altivec-logic.patch package/grantlee/Config.in Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/guile/guile-02-calculate-csqrt_manually.patch')
-rw-r--r--package/guile/guile-02-calculate-csqrt_manually.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/guile/guile-02-calculate-csqrt_manually.patch b/package/guile/guile-02-calculate-csqrt_manually.patch
new file mode 100644
index 0000000000..98bb0b6850
--- /dev/null
+++ b/package/guile/guile-02-calculate-csqrt_manually.patch
@@ -0,0 +1,16 @@
+Avoid using scm_from_complex_double(csqrt()) when building with uclibc.
+
+Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
+
+diff -Nau guile-2.0.11.orig/configure.ac guile-2.0.11/configure.ac
+--- guile-2.0.11.orig/configure.ac 2014-03-12 14:36:02.000000000 +0100
++++ guile-2.0.11/configure.ac 2014-11-03 23:59:51.897267207 +0100
+@@ -862,7 +862,7 @@
+ }]])],
+ [guile_cv_use_csqrt=yes],
+ [guile_cv_use_csqrt="no, glibc 2.3 bug"],
+- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])])
++ [guile_cv_use_csqrt="no (cross-compiling)"])])
+ case $guile_cv_use_csqrt in
+ yes*)
+ AC_DEFINE([HAVE_USABLE_CSQRT], 1, [Define to 1 if csqrt is bug-free])
OpenPOWER on IntegriCloud