[Bug 210168] [patch] math/gsl: update to 2.1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 29 19:48:10 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210168
--- Comment #5 from Rainer Hurling <rhurlin at gwdg.de> ---
I just added a new PR (bug #211444), which updates math/ocamlgsl to 1.19.1.
This updates builds with math/gsl 2.1.
Other than mentiond in comment #4, math/orpie does not build with updated
math/ocamlgsl. Instead, it gives two errors:
mlgsl_sf.c:261:51: error: too many arguments to function call, expected 3, have
4
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
mlgsl_sf.c:56:22: note: expanded from macro 'GSL_MODE_val'
#define GSL_MODE_val Int_val
^
mlgsl_sf.c:95:43: note: expanded from macro 'SF4'
ML4(gsl_sf_##name, conv1, conv2, conv3, conv4, copy_double) \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./wrappers.h:74:66: note: expanded from macro 'ML4'
CAMLreturn(convr(name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4))))
; }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
mlgsl_sf.c:261:1: error: too many arguments to function call, expected 4, have
5
SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlgsl_sf.c:96:3: note: expanded from macro 'SF4'
ML4_res(gsl_sf_##name##_e, conv1, conv2, conv3, conv4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlgsl_sf.c:77:62: note: expanded from macro 'ML4_res'
name(conv1(arg1), conv2(arg2), conv3(arg3), conv4(arg4), &res); \
~~~~ ^~~~
/usr/local/include/gsl/gsl_sf_ellint.h:84:1: note: 'gsl_sf_ellint_D_e' declared
here
int gsl_sf_ellint_D_e(double phi, double k, gsl_mode_t mode, gsl_sf_result *
result);
^
So, at least six ports will fail after update of math/gsl and math/ocamlgsl.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list