Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 221135 Details for
Bug 237572
[science overlay] sci-mathematics/scilab-5.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
exp10 configure patch imported from upstream
scilab-5.2.1-no-redef-exp10.patch (text/plain), 2.08 KB, created by
Guillaume Horel
on 2010-02-25 13:36:20 UTC
(
hide
)
Description:
exp10 configure patch imported from upstream
Filename:
MIME Type:
Creator:
Guillaume Horel
Created:
2010-02-25 13:36:20 UTC
Size:
2.08 KB
patch
obsolete
>diff -urN scilab-5.2.1-orig//configure.ac scilab-5.2.1//configure.ac >--- scilab-5.2.1-orig//configure.ac 2010-02-17 03:06:08.000000000 -0500 >+++ scilab-5.2.1//configure.ac 2010-02-20 16:49:52.000000000 -0500 >@@ -953,12 +953,7 @@ > # Provided by math.h > > LDFLAGS="$LDFLAGS $LIBM" >-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]) >- ]) >+AC_CHECK_FUNCS([pow] [sqrt] [finite] [floor] [exp10]) > > ### If isinf exists or not (used to not be the case under Solaris) > ### See bug #4164 >diff -urN scilab-5.2.1-orig//modules/core/includes/core_math.h scilab-5.2.1//modules/core/includes/core_math.h >--- scilab-5.2.1-orig//modules/core/includes/core_math.h 2010-02-17 03:06:08.000000000 -0500 >+++ scilab-5.2.1//modules/core/includes/core_math.h 2010-02-20 16:49:52.000000000 -0500 >@@ -90,6 +90,11 @@ > #define M_PI 3.14159265358979323846 > #endif > >+#ifndef HAVE_EXP10 >+#define log_10_ 2.3025850929940456840179914546844 >+/* Provide a macro to do exp10 */ >+#define exp10(x) exp( (log_10_) * (x) ) >+#endif > > #endif /* __BASE_MATH_H__ */ > >diff -urN scilab-5.2.1-orig//modules/core/includes/machine.h.in scilab-5.2.1//modules/core/includes/machine.h.in >--- scilab-5.2.1-orig//modules/core/includes/machine.h.in 2010-02-17 03:06:08.000000000 -0500 >+++ scilab-5.2.1//modules/core/includes/machine.h.in 2010-02-20 16:49:52.000000000 -0500 >@@ -77,6 +77,9 @@ > /* Define to 1 if you have the `endpwent' function. */ > #undef HAVE_ENDPWENT > >+/* Define to 1 if you have the `exp10' function. */ >+#undef HAVE_EXP10 >+ > /* Define to 1 if you have the <fcntl.h> header file. */ > #undef HAVE_FCNTL_H > >@@ -515,9 +518,6 @@ > /* Define to empty if `const' does not conform to ANSI C. */ > #undef const > >-/* Provide a macro to do exp10 */ >-#undef exp10 >- > /* Don't use getwd but getcwd */ > #undef getwd > >@@ -530,9 +530,6 @@ > /* Provide a macro to do isinf */ > #undef isinf > >-/* Provide a macro to do exp10 */ >-#undef log_10_ >- > > > #ifdef DIR_SEPARATOR
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 237572
:
195132
|
195134
|
195135
|
195410
|
195719
|
196337
|
197140
|
197167
|
201660
|
201663
|
201664
|
203708
|
206592
|
207264
|
207266
|
207281
|
211281
|
216499
|
216568
|
218759
|
218769
|
218781
|
218921
|
219327
|
219355
|
219361
|
219811
|
219943
|
221133
| 221135 |
221137
|
221139
|
230115
|
232755
|
247735
|
247737
|
247761
|
248048
|
248050
|
248071
|
248157
|
248213
|
249041
|
260226
|
260228
|
276083
|
276087
|
313535
|
317800