summaryrefslogtreecommitdiff
path: root/math/orpie/files/patch-gsl_mlgsl__error.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/orpie/files/patch-gsl_mlgsl__error.c')
-rw-r--r--math/orpie/files/patch-gsl_mlgsl__error.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/orpie/files/patch-gsl_mlgsl__error.c b/math/orpie/files/patch-gsl_mlgsl__error.c
new file mode 100644
index 000000000000..f3fe29f8e194
--- /dev/null
+++ b/math/orpie/files/patch-gsl_mlgsl__error.c
@@ -0,0 +1,10 @@
+--- gsl/mlgsl_error.c.orig 2014-04-12 01:43:31 UTC
++++ gsl/mlgsl_error.c
+@@ -34,6 +34,7 @@ static value *ml_gsl_exn;
+
+ static void ml_gsl_raise_exn(const char *msg, int gsl_errno)
+ {
++ CAMLparam0();
+ CAMLlocal2(exn_msg, exn_arg);
+ exn_msg = copy_string(msg);
+ exn_arg = alloc_small(2, 0);