guile/patches/0001-disable-csqrt.patch |
| 1 | diff --git a/configure.in b/configure.in |
| 2 | index 217ac83..c4c16fc 100644 |
| 3 | --- a/configure.in |
| 4 | @@ -854,7 +854,7 @@ main (void) |
| 5 | }]])], |
| 6 | [guile_cv_use_csqrt=yes], |
| 7 | [guile_cv_use_csqrt="no, glibc 2.3 bug"], |
| 8 | - [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])]) |
| 9 | + [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])]) |
| 10 | case $guile_cv_use_csqrt in |
| 11 | yes*) |
| 12 | AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free]) |
guile/patches/0001-disable-pthread-check-disable-csqrt.patch |
1 | | diff --git a/configure b/configure |
2 | | index a57297d..98857ae 100755 |
3 | | +++ b/configure |
4 | | @@ -35053,6 +35053,8 @@ fi |
5 | | |
6 | | if test "$with_threads" = pthreads; then |
7 | | |
8 | | +cat >> /dev/null << end_pthread_attr_getstack_check_part1 |
9 | | + |
10 | | { $as_echo "$as_me:$LINENO: checking whether pthread_attr_getstack works for the main thread" >&5 |
11 | | $as_echo_n "checking whether pthread_attr_getstack works for the main thread... " >&6; } |
12 | | old_CFLAGS="$CFLAGS" |
13 | | @@ -35121,12 +35123,15 @@ $as_echo "$ac_try_echo") >&5 |
14 | | ac_status=$? |
15 | | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16 | | (exit $ac_status); }; }; then |
17 | | + |
18 | | +end_pthread_attr_getstack_check_part1 |
19 | | works=yes |
20 | | |
21 | | cat >>confdefs.h <<\_ACEOF |
22 | | #define PTHREAD_ATTR_GETSTACK_WORKS 1 |
23 | | _ACEOF |
24 | | |
25 | | +cat >> /dev/null << end_pthread_attr_getstack_check_part2 |
26 | | else |
27 | | $as_echo "$as_me: program exited with status $ac_status" >&5 |
28 | | $as_echo "$as_me: failed program was:" >&5 |
29 | | @@ -35138,6 +35143,7 @@ fi |
30 | | rm -rf conftest.dSYM |
31 | | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
32 | | fi |
33 | | +end_pthread_attr_getstack_check_part2 |
34 | | |
35 | | |
36 | | CFLAGS="$old_CFLAGS" |
37 | | diff --git a/configure.in b/configure.in |
38 | | index 217ac83..c4c16fc 100644 |
39 | | +++ b/configure.in |
40 | | @@ -854,7 +854,7 @@ main (void) |
41 | | }]])], |
42 | | [guile_cv_use_csqrt=yes], |
43 | | [guile_cv_use_csqrt="no, glibc 2.3 bug"], |
44 | | - [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])]) |
45 | | + [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])]) |
46 | | case $guile_cv_use_csqrt in |
47 | | yes*) |
48 | | AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free]) |