ruby-changes:6529
From: shyouhei <ko1@a...>
Date: Sun, 13 Jul 2008 00:07:26 +0900 (JST)
Subject: [ruby-changes:6529] Ruby:r18045 (ruby_1_8_7): merge revision(s) 17841,17845,17858:
shyouhei 2008-07-13 00:06:09 +0900 (Sun, 13 Jul 2008) New Revision: 18045 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18045 Log: merge revision(s) 17841,17845,17858: * configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch on IA64 is broken. erfc(10000.0) aborts. use missing/erf.c instead. http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html Modified files: branches/ruby_1_8_7/ChangeLog branches/ruby_1_8_7/configure.in branches/ruby_1_8_7/version.h Index: ruby_1_8_7/configure.in =================================================================== --- ruby_1_8_7/configure.in (revision 18044) +++ ruby_1_8_7/configure.in (revision 18045) @@ -559,6 +559,27 @@ AC_FUNC_MEMCMP AC_FUNC_FSEEKO AC_CHECK_FUNCS(ftello) + +# http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html +# Debian GNU/Linux Etch's libc6.1 2.3.6.ds1-13etch5 has this problem. +# Debian GNU/Linux Lenny's libc6.1 2.7-10 has no problem. +AC_CACHE_CHECK(for broken erfc of glibc-2.3.6 on IA64, rb_broken_glibc_ia64_erfc, + [AC_TRY_RUN([ +#include <math.h> +int +main() +{ + erfc(10000.0); + return 0; +} +], + rb_broken_glibc_ia64_erfc=no, + rb_broken_glibc_ia64_erfc=yes, + rb_broken_glibc_ia64_erfc=no)]) +case $rb_broken_glibc_ia64_erfc in + yes) ac_cv_func_erf=no;; +esac + AC_REPLACE_FUNCS(dup2 memmove strcasecmp strncasecmp strerror strftime\ strchr strstr strtoul crypt flock vsnprintf\ isnan finite isinf hypot acosh erf) Index: ruby_1_8_7/ChangeLog =================================================================== --- ruby_1_8_7/ChangeLog (revision 18044) +++ ruby_1_8_7/ChangeLog (revision 18045) @@ -1,3 +1,10 @@ +Sun Jul 13 00:04:38 2008 Tanaka Akira <akr@f...> + + * configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch + on IA64 is broken. erfc(10000.0) aborts. + use missing/erf.c instead. + http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html + Thu Jul 10 18:50:48 2008 Tanaka Akira <akr@f...> * common.mk (SPEC_GIT_BASE): update RubySpec GIT URL. Index: ruby_1_8_7/version.h =================================================================== --- ruby_1_8_7/version.h (revision 18044) +++ ruby_1_8_7/version.h (revision 18045) @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.8.7" -#define RUBY_RELEASE_DATE "2008-07-10" +#define RUBY_RELEASE_DATE "2008-07-13" #define RUBY_VERSION_CODE 187 -#define RUBY_RELEASE_CODE 20080710 -#define RUBY_PATCHLEVEL 56 +#define RUBY_RELEASE_CODE 20080713 +#define RUBY_PATCHLEVEL 57 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 7 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 10 +#define RUBY_RELEASE_DAY 13 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/