diff options
Diffstat (limited to 'math/ruby-gsl/files/patch-ext__const.c')
-rw-r--r-- | math/ruby-gsl/files/patch-ext__const.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/math/ruby-gsl/files/patch-ext__const.c b/math/ruby-gsl/files/patch-ext__const.c new file mode 100644 index 000000000000..d0e4e16c5bd5 --- /dev/null +++ b/math/ruby-gsl/files/patch-ext__const.c @@ -0,0 +1,10 @@ +--- ./ext/const.c.orig 2007-12-08 17:45:32.000000000 +0300 ++++ ./ext/const.c 2009-11-28 23:21:00.000000000 +0300 +@@ -599,7 +599,6 @@ + rb_float_new(GSL_CONST_CGSM_ELECTRON_CHARGE)); + rb_define_const(module, "ELECTRON_CHARGE_ESU", + rb_float_new(GSL_CONST_CGSM_ELECTRON_CHARGE*GSL_CONST_CGSM_SPEED_OF_LIGHT)); +- rb_define_const(module, "GAUSS", rb_float_new(GSL_CONST_CGSM_GAUSS)); + rb_define_const(module, "STILB", rb_float_new(GSL_CONST_CGSM_STILB)); + rb_define_const(module, "LUMEN", rb_float_new(GSL_CONST_CGSM_LUMEN)); + rb_define_const(module, "LUX", rb_float_new(GSL_CONST_CGSM_LUX)); |