diff options
Diffstat (limited to 'sci-mathematics/scilab/files/scilab-5.2.0-no-redef-exp10.patch')
-rw-r--r-- | sci-mathematics/scilab/files/scilab-5.2.0-no-redef-exp10.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/scilab/files/scilab-5.2.0-no-redef-exp10.patch b/sci-mathematics/scilab/files/scilab-5.2.0-no-redef-exp10.patch new file mode 100644 index 000000000..4eabb4e09 --- /dev/null +++ b/sci-mathematics/scilab/files/scilab-5.2.0-no-redef-exp10.patch @@ -0,0 +1,13 @@ +--- configure.ac.orig 2010-02-04 20:07:14.000000000 +0000 ++++ configure.ac 2010-02-04 20:07:53.000000000 +0000 +@@ -894,10 +894,6 @@ + + AC_CHECK_FUNCS([pow] [sqrt] [finite] [floor]) + +-AC_CHECK_FUNC([exp10],,[ +- AC_DEFINE([log_10_],[2.3025850929940456840179914546844],[Provide a macro to do exp10]) +- AC_DEFINE([exp10(x)],[exp( (log_10_) * (x) )],[Provide a macro to do exp10]) +- ]) + + ### If isinf exists or not (used to not be the case under Solaris) + ### See bug #4164 |