Subject: | Version_wrap.1.15.c hard codes GSL_VERSION to 1.13 |
Hi,
The subject line says it all.
Attached is a proposed patch.
(Is there a way to determine the version of the gsl shared libraries
that Math::GSL has actually loaded ?)
Cheers,
Rob
Subject: | patch.txt |
--- Version_wrap.1.15.c_orig 2012-07-11 23:22:26 +1000
+++ Version_wrap.1.15.c 2012-07-11 23:23:12 +1000
@@ -1911,7 +1911,7 @@
/*@SWIG:/usr/local/share/swig/2.0.4/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_FromCharPtr("1.13"));
+ sv_setsv(sv, SWIG_FromCharPtr("1.15"));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
ST(0) = &PL_sv_yes;