FreeBSD Bugzilla – Attachment 111959 Details for
Bug 153299
[patch] ports/py-mlpy doesn't run because of lacking cpow() function in FreeBSD.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 738 bytes, created by
ginga-freebsd
on 2010-12-20 02:40:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ginga-freebsd
Created:
2010-12-20 02:40:05 UTC
Size:
738 bytes
patch
obsolete
>diff -urN py-mlpy/files/patch-cwt-cwb.c /usr/ports/science/py-mlpy/files/patch-cwt-cwb.c >--- py-mlpy/files/patch-cwt-cwb.c 1970-01-01 09:00:00.000000000 +0900 >+++ ports/science/py-mlpy/files/patch-cwt-cwb.c 2010-12-17 17:57:19.591933004 +0900 >@@ -0,0 +1,14 @@ >+--- ./mlpy/cwt/cwb.c.dist 2010-01-15 19:00:43.000000000 +0900 >++++ ./mlpy/cwt/cwb.c 2010-12-17 17:54:36.032731532 +0900 >+@@ -143,7 +143,11 @@ >+ double sw, norm = 1.0; >+ >+ >++#ifndef __STD_IEC_559_COMPLEX__ /* FreeBSD lacks C99 cpow() */ >++ p = - gsl_complex_pow(0.0 + 1.0I, order) / sqrt(gsl_sf_gamma(order + 0.5)); >++#else >+ p = - cpow(0.0 + 1.0I, order) / sqrt(gsl_sf_gamma(order + 0.5)); >++#endif /* __STD_IEC_559_COMPLEX__ */ >+ >+ for (i=0; i<n; i++) >+ {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 153299
: 111959