[med-svn] r16335 - in trunk/packages/libsbml/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Thu Feb 27 08:26:42 UTC 2014


Author: tille
Date: 2014-02-27 08:26:42 +0000 (Thu, 27 Feb 2014)
New Revision: 16335

Modified:
   trunk/packages/libsbml/trunk/debian/changelog
   trunk/packages/libsbml/trunk/debian/patches/format-security.patch
   trunk/packages/libsbml/trunk/debian/patches/hardening.patch
   trunk/packages/libsbml/trunk/debian/patches/mexext.patch
Log:
New upstream version (adapt patches where they are applying, see whether more fixing is needed)


Modified: trunk/packages/libsbml/trunk/debian/changelog
===================================================================
--- trunk/packages/libsbml/trunk/debian/changelog	2014-02-26 23:02:32 UTC (rev 16334)
+++ trunk/packages/libsbml/trunk/debian/changelog	2014-02-27 08:26:42 UTC (rev 16335)
@@ -1,3 +1,10 @@
+libsbml (5.9.2-1) UNRELEASED; urgency=medium
+
+  * New upstream version
+  * debian/upstream -> debian/upstream/metadata
+
+ -- Andreas Tille <tille at debian.org>  Thu, 27 Feb 2014 08:17:40 +0000
+
 libsbml (5.8.0-2) unstable; urgency=medium
 
   * Put *.m files in the Octave path (thanks for the patch to

Modified: trunk/packages/libsbml/trunk/debian/patches/format-security.patch
===================================================================
--- trunk/packages/libsbml/trunk/debian/patches/format-security.patch	2014-02-26 23:02:32 UTC (rev 16334)
+++ trunk/packages/libsbml/trunk/debian/patches/format-security.patch	2014-02-27 08:26:42 UTC (rev 16335)
@@ -29,7 +29,7 @@
  %enddef
 --- a/src/bindings/ruby/libsbml_wrap.cpp
 +++ b/src/bindings/ruby/libsbml_wrap.cpp
-@@ -3517,7 +3517,7 @@ SWIG_AsPtr_std_basic_string_Sl_char_Sg_
+@@ -3521,7 +3521,7 @@ SWIG_AsPtr_std_basic_string_Sl_char_Sg_
        }
      }
      if (val) {
@@ -38,7 +38,7 @@
      }
      return 0;
    }
-@@ -4589,7 +4589,7 @@ SWIGINTERN VALUE std_basic_string_Sl_cha
+@@ -4593,7 +4593,7 @@ SWIGINTERN VALUE std_basic_string_Sl_cha
        }
  SWIGINTERN std::basic_string< char,std::char_traits< char >,std::allocator< char > > *std_basic_string_Sl_char_Sg__each(std::basic_string< char > *self){
  	if ( !rb_block_given_p() )
@@ -47,7 +47,7 @@
  
  	VALUE r;
  	std::basic_string<char,std::char_traits< char >,std::allocator< char > >::const_iterator i = self->begin();
-@@ -4604,7 +4604,7 @@ SWIGINTERN std::basic_string< char,std::
+@@ -4608,7 +4608,7 @@ SWIGINTERN std::basic_string< char,std::
        }
  SWIGINTERN std::basic_string< char,std::char_traits< char >,std::allocator< char > > *std_basic_string_Sl_char_Sg__select(std::basic_string< char > *self){
        if ( !rb_block_given_p() )
@@ -56,7 +56,7 @@
  
        std::basic_string<char,std::char_traits< char >,std::allocator< char > >* r = new std::basic_string<char,std::char_traits< char >,std::allocator< char > >;
        std::basic_string<char,std::char_traits< char >,std::allocator< char > >::const_iterator i = self->begin();
-@@ -4620,7 +4620,7 @@ SWIGINTERN std::basic_string< char,std::
+@@ -4624,7 +4624,7 @@ SWIGINTERN std::basic_string< char,std::
      }
  SWIGINTERN std::basic_string< char,std::char_traits< char >,std::allocator< char > > *std_basic_string_Sl_char_Sg__reject_bang(std::basic_string< char > *self){
        if ( !rb_block_given_p() )
@@ -65,7 +65,7 @@
  
        std::basic_string<char,std::char_traits< char >,std::allocator< char > >::iterator i = self->begin();
        std::basic_string<char,std::char_traits< char >,std::allocator< char > >::iterator e = self->end();
-@@ -4659,7 +4659,7 @@ SWIGINTERN std::basic_string< char >::va
+@@ -4663,7 +4663,7 @@ SWIGINTERN std::basic_string< char >::va
      }
  SWIGINTERN std::basic_string< char,std::char_traits< char >,std::allocator< char > > *std_basic_string_Sl_char_Sg__reject(std::basic_string< char > *self){
        if ( !rb_block_given_p() )
@@ -74,7 +74,7 @@
  
        std::basic_string<char,std::char_traits< char >,std::allocator< char > >* r = new std::basic_string<char,std::char_traits< char >,std::allocator< char > >;
        std::remove_copy_if( self->begin(), self->end(),              
-@@ -4705,7 +4705,7 @@ SWIGINTERN VALUE std_basic_string_Sl_cha
+@@ -4709,7 +4709,7 @@ SWIGINTERN VALUE std_basic_string_Sl_cha
  SWIGINTERN VALUE std_basic_string_Sl_char_Sg____getitem____SWIG_2(std::basic_string< char > const *self,VALUE i){
        if ( rb_obj_is_kind_of( i, rb_cRange ) == Qfalse )
  	{
@@ -83,7 +83,7 @@
  	}
  
        VALUE r = Qnil;
-@@ -19811,11 +19811,11 @@ _wrap_new_ListOf__SWIG_0(int argc, VALUE
+@@ -20922,11 +20922,11 @@ _wrap_new_ListOf__SWIG_0(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -97,7 +97,7 @@
      }
    }
    return self;
-@@ -19848,11 +19848,11 @@ _wrap_new_ListOf__SWIG_1(int argc, VALUE
+@@ -20959,11 +20959,11 @@ _wrap_new_ListOf__SWIG_1(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -111,7 +111,7 @@
      }
    }
    return self;
-@@ -19877,11 +19877,11 @@ _wrap_new_ListOf__SWIG_2(int argc, VALUE
+@@ -20988,11 +20988,11 @@ _wrap_new_ListOf__SWIG_2(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -125,7 +125,7 @@
      }
    }
    return self;
-@@ -19914,11 +19914,11 @@ _wrap_new_ListOf__SWIG_3(int argc, VALUE
+@@ -21025,11 +21025,11 @@ _wrap_new_ListOf__SWIG_3(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -139,7 +139,7 @@
      }
    }
    return self;
-@@ -19977,11 +19977,11 @@ _wrap_new_ListOf__SWIG_4(int argc, VALUE
+@@ -21088,11 +21088,11 @@ _wrap_new_ListOf__SWIG_4(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -153,7 +153,7 @@
      }
    }
    return self;
-@@ -20944,11 +20944,11 @@ _wrap_new_Model__SWIG_0(int argc, VALUE
+@@ -22065,11 +22065,11 @@ _wrap_new_Model__SWIG_0(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -167,7 +167,7 @@
      }
    }
    return self;
-@@ -20981,11 +20981,11 @@ _wrap_new_Model__SWIG_1(int argc, VALUE
+@@ -22102,11 +22102,11 @@ _wrap_new_Model__SWIG_1(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -181,7 +181,7 @@
      }
    }
    return self;
-@@ -21044,11 +21044,11 @@ _wrap_new_Model__SWIG_2(int argc, VALUE
+@@ -22165,11 +22165,11 @@ _wrap_new_Model__SWIG_2(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -195,7 +195,7 @@
      }
    }
    return self;
-@@ -29838,11 +29838,11 @@ _wrap_new_SBMLDocument__SWIG_0(int argc,
+@@ -31605,11 +31605,11 @@ _wrap_new_SBMLDocument__SWIG_0(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -209,7 +209,7 @@
      }
    }
    return self;
-@@ -29875,11 +29875,11 @@ _wrap_new_SBMLDocument__SWIG_1(int argc,
+@@ -31642,11 +31642,11 @@ _wrap_new_SBMLDocument__SWIG_1(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -223,7 +223,7 @@
      }
    }
    return self;
-@@ -29904,11 +29904,11 @@ _wrap_new_SBMLDocument__SWIG_2(int argc,
+@@ -31671,11 +31671,11 @@ _wrap_new_SBMLDocument__SWIG_2(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -237,7 +237,7 @@
      }
    }
    return self;
-@@ -29941,11 +29941,11 @@ _wrap_new_SBMLDocument__SWIG_3(int argc,
+@@ -31708,11 +31708,11 @@ _wrap_new_SBMLDocument__SWIG_3(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -251,7 +251,7 @@
      }
    }
    return self;
-@@ -30004,11 +30004,11 @@ _wrap_new_SBMLDocument__SWIG_4(int argc,
+@@ -31771,11 +31771,11 @@ _wrap_new_SBMLDocument__SWIG_4(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -265,7 +265,7 @@
      }
    }
    return self;
-@@ -32257,11 +32257,11 @@ _wrap_new_FunctionDefinition__SWIG_0(int
+@@ -34163,11 +34163,11 @@ _wrap_new_FunctionDefinition__SWIG_0(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -279,7 +279,7 @@
      }
    }
    return self;
-@@ -32294,11 +32294,11 @@ _wrap_new_FunctionDefinition__SWIG_1(int
+@@ -34200,11 +34200,11 @@ _wrap_new_FunctionDefinition__SWIG_1(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -293,7 +293,7 @@
      }
    }
    return self;
-@@ -32357,11 +32357,11 @@ _wrap_new_FunctionDefinition__SWIG_2(int
+@@ -34263,11 +34263,11 @@ _wrap_new_FunctionDefinition__SWIG_2(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -307,7 +307,7 @@
      }
    }
    return self;
-@@ -33162,11 +33162,11 @@ _wrap_new_ListOfFunctionDefinitions__SWI
+@@ -35078,11 +35078,11 @@ _wrap_new_ListOfFunctionDefinitions__SWI
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -321,7 +321,7 @@
      }
    }
    return self;
-@@ -33216,11 +33216,11 @@ _wrap_new_ListOfFunctionDefinitions__SWI
+@@ -35132,11 +35132,11 @@ _wrap_new_ListOfFunctionDefinitions__SWI
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -335,7 +335,7 @@
      }
    }
    return self;
-@@ -33886,11 +33886,11 @@ _wrap_new_Unit__SWIG_0(int argc, VALUE *
+@@ -35815,11 +35815,11 @@ _wrap_new_Unit__SWIG_1(int argc, VALUE *
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -349,7 +349,7 @@
      }
    }
    return self;
-@@ -33923,11 +33923,11 @@ _wrap_new_Unit__SWIG_1(int argc, VALUE *
+@@ -35878,11 +35878,11 @@ _wrap_new_Unit__SWIG_2(int argc, VALUE *
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -363,7 +363,7 @@
      }
    }
    return self;
-@@ -33986,11 +33986,11 @@ _wrap_new_Unit__SWIG_2(int argc, VALUE *
+@@ -37632,11 +37632,11 @@ _wrap_new_ListOfUnits__SWIG_0(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -377,7 +377,7 @@
      }
    }
    return self;
-@@ -35740,11 +35740,11 @@ _wrap_new_ListOfUnits__SWIG_0(int argc,
+@@ -39503,11 +39503,11 @@ _wrap_new_ListOfUnitDefinitions__SWIG_0(
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -391,7 +391,7 @@
      }
    }
    return self;
-@@ -35794,11 +35794,11 @@ _wrap_new_ListOfUnits__SWIG_1(int argc,
+@@ -39557,11 +39557,11 @@ _wrap_new_ListOfUnitDefinitions__SWIG_1(
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -405,7 +405,7 @@
      }
    }
    return self;
-@@ -36144,11 +36144,11 @@ _wrap_new_UnitDefinition__SWIG_0(int arg
+@@ -40118,11 +40118,11 @@ _wrap_new_CompartmentType__SWIG_0(int ar
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -419,7 +419,7 @@
      }
    }
    return self;
-@@ -36181,11 +36181,11 @@ _wrap_new_UnitDefinition__SWIG_1(int arg
+@@ -40155,11 +40155,11 @@ _wrap_new_CompartmentType__SWIG_1(int ar
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -433,7 +433,7 @@
      }
    }
    return self;
-@@ -36244,11 +36244,11 @@ _wrap_new_UnitDefinition__SWIG_2(int arg
+@@ -40218,11 +40218,11 @@ _wrap_new_CompartmentType__SWIG_2(int ar
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -447,7 +447,7 @@
      }
    }
    return self;
-@@ -37593,11 +37593,11 @@ _wrap_new_ListOfUnitDefinitions__SWIG_0(
+@@ -41702,11 +41702,11 @@ _wrap_new_ListOfSpeciesTypes__SWIG_0(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -461,7 +461,7 @@
      }
    }
    return self;
-@@ -37647,11 +37647,11 @@ _wrap_new_ListOfUnitDefinitions__SWIG_1(
+@@ -41756,11 +41756,11 @@ _wrap_new_ListOfSpeciesTypes__SWIG_1(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -475,7 +475,7 @@
      }
    }
    return self;
-@@ -38227,11 +38227,11 @@ _wrap_new_CompartmentType__SWIG_0(int ar
+@@ -42313,11 +42313,11 @@ _wrap_new_Compartment__SWIG_1(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -489,7 +489,7 @@
      }
    }
    return self;
-@@ -38264,11 +38264,11 @@ _wrap_new_CompartmentType__SWIG_1(int ar
+@@ -42376,11 +42376,11 @@ _wrap_new_Compartment__SWIG_2(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -503,7 +503,7 @@
      }
    }
    return self;
-@@ -38327,11 +38327,11 @@ _wrap_new_CompartmentType__SWIG_2(int ar
+@@ -43823,11 +43823,11 @@ _wrap_new_ListOfCompartments__SWIG_0(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -517,7 +517,7 @@
      }
    }
    return self;
-@@ -38732,11 +38732,11 @@ _wrap_new_ListOfCompartmentTypes__SWIG_0
+@@ -44397,11 +44397,11 @@ _wrap_new_Species__SWIG_0(int argc, VALU
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -531,7 +531,7 @@
      }
    }
    return self;
-@@ -38786,11 +38786,11 @@ _wrap_new_ListOfCompartmentTypes__SWIG_1
+@@ -44434,11 +44434,11 @@ _wrap_new_Species__SWIG_1(int argc, VALU
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -545,7 +545,7 @@
      }
    }
    return self;
-@@ -39330,11 +39330,11 @@ _wrap_new_SpeciesType__SWIG_0(int argc,
+@@ -44497,11 +44497,11 @@ _wrap_new_Species__SWIG_2(int argc, VALU
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -559,7 +559,7 @@
      }
    }
    return self;
-@@ -39367,11 +39367,11 @@ _wrap_new_SpeciesType__SWIG_1(int argc,
+@@ -46306,11 +46306,11 @@ _wrap_new_ListOfSpecies__SWIG_0(int argc
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -573,7 +573,7 @@
      }
    }
    return self;
-@@ -39430,11 +39430,11 @@ _wrap_new_SpeciesType__SWIG_2(int argc,
+@@ -46360,11 +46360,11 @@ _wrap_new_ListOfSpecies__SWIG_1(int argc
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -587,7 +587,7 @@
      }
    }
    return self;
-@@ -39835,11 +39835,11 @@ _wrap_new_ListOfSpeciesTypes__SWIG_0(int
+@@ -46880,11 +46880,11 @@ _wrap_new_Parameter__SWIG_0(int argc, VA
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -601,7 +601,7 @@
      }
    }
    return self;
-@@ -39889,11 +39889,11 @@ _wrap_new_ListOfSpeciesTypes__SWIG_1(int
+@@ -46917,11 +46917,11 @@ _wrap_new_Parameter__SWIG_1(int argc, VA
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -615,7 +615,7 @@
      }
    }
    return self;
-@@ -40433,11 +40433,11 @@ _wrap_new_Compartment__SWIG_0(int argc,
+@@ -47868,11 +47868,11 @@ _wrap_new_ListOfParameters__SWIG_0(int a
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -629,7 +629,7 @@
      }
    }
    return self;
-@@ -40470,11 +40470,11 @@ _wrap_new_Compartment__SWIG_1(int argc,
+@@ -47922,11 +47922,11 @@ _wrap_new_ListOfParameters__SWIG_1(int a
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -643,7 +643,7 @@
      }
    }
    return self;
-@@ -40533,11 +40533,11 @@ _wrap_new_Compartment__SWIG_2(int argc,
+@@ -48442,11 +48442,11 @@ _wrap_new_LocalParameter__SWIG_0(int arg
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -657,7 +657,7 @@
      }
    }
    return self;
-@@ -41960,11 +41960,11 @@ _wrap_new_ListOfCompartments__SWIG_0(int
+@@ -49601,11 +49601,11 @@ _wrap_new_InitialAssignment__SWIG_2(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -671,7 +671,7 @@
      }
    }
    return self;
-@@ -42014,11 +42014,11 @@ _wrap_new_ListOfCompartments__SWIG_1(int
+@@ -50431,11 +50431,11 @@ _wrap_new_ListOfInitialAssignments__SWIG
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -685,7 +685,7 @@
      }
    }
    return self;
-@@ -42558,11 +42558,11 @@ _wrap_new_Species__SWIG_0(int argc, VALU
+@@ -50485,11 +50485,11 @@ _wrap_new_ListOfInitialAssignments__SWIG
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -699,7 +699,7 @@
      }
    }
    return self;
-@@ -42595,11 +42595,11 @@ _wrap_new_Species__SWIG_1(int argc, VALU
+@@ -52275,11 +52275,11 @@ _wrap_new_ListOfRules__SWIG_0(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -713,7 +713,7 @@
      }
    }
    return self;
-@@ -42658,11 +42658,11 @@ _wrap_new_Species__SWIG_2(int argc, VALU
+@@ -52329,11 +52329,11 @@ _wrap_new_ListOfRules__SWIG_1(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -727,7 +727,7 @@
      }
    }
    return self;
-@@ -44447,11 +44447,11 @@ _wrap_new_ListOfSpecies__SWIG_0(int argc
+@@ -54292,11 +54292,11 @@ _wrap_new_ListOfConstraints__SWIG_0(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -741,7 +741,7 @@
      }
    }
    return self;
-@@ -44501,11 +44501,11 @@ _wrap_new_ListOfSpecies__SWIG_1(int argc
+@@ -54346,11 +54346,11 @@ _wrap_new_ListOfConstraints__SWIG_1(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -755,7 +755,7 @@
      }
    }
    return self;
-@@ -45045,11 +45045,11 @@ _wrap_new_Parameter__SWIG_0(int argc, VA
+@@ -54772,11 +54772,11 @@ _wrap_new_Reaction__SWIG_2(int argc, VAL
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -769,7 +769,7 @@
      }
    }
    return self;
-@@ -45082,11 +45082,11 @@ _wrap_new_Parameter__SWIG_1(int argc, VA
+@@ -57421,11 +57421,11 @@ _wrap_new_ListOfReactions__SWIG_0(int ar
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -783,7 +783,7 @@
      }
    }
    return self;
-@@ -45145,11 +45145,11 @@ _wrap_new_Parameter__SWIG_2(int argc, VA
+@@ -57475,11 +57475,11 @@ _wrap_new_ListOfReactions__SWIG_1(int ar
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -797,7 +797,7 @@
      }
    }
    return self;
-@@ -45994,11 +45994,11 @@ _wrap_new_ListOfParameters__SWIG_0(int a
+@@ -58095,11 +58095,11 @@ _wrap_new_KineticLaw__SWIG_2(int argc, V
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -811,7 +811,7 @@
      }
    }
    return self;
-@@ -46048,11 +46048,11 @@ _wrap_new_ListOfParameters__SWIG_1(int a
+@@ -60717,11 +60717,11 @@ _wrap_new_SpeciesReference__SWIG_0(int a
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -825,7 +825,7 @@
      }
    }
    return self;
-@@ -46592,11 +46592,11 @@ _wrap_new_LocalParameter__SWIG_0(int arg
+@@ -60817,11 +60817,11 @@ _wrap_new_SpeciesReference__SWIG_2(int a
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -839,7 +839,7 @@
      }
    }
    return self;
-@@ -46629,11 +46629,11 @@ _wrap_new_LocalParameter__SWIG_1(int arg
+@@ -61714,11 +61714,11 @@ _wrap_new_ListOfSpeciesReferences__SWIG_
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -853,7 +853,7 @@
      }
    }
    return self;
-@@ -46675,11 +46675,11 @@ _wrap_new_LocalParameter__SWIG_2(int arg
+@@ -61768,11 +61768,11 @@ _wrap_new_ListOfSpeciesReferences__SWIG_
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -867,7 +867,7 @@
      }
    }
    return self;
-@@ -46732,11 +46732,11 @@ _wrap_new_LocalParameter__SWIG_3(int arg
+@@ -62300,11 +62300,11 @@ _wrap_new_ModifierSpeciesReference__SWIG
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -881,7 +881,7 @@
      }
    }
    return self;
-@@ -47036,11 +47036,11 @@ _wrap_new_ListOfLocalParameters__SWIG_0(
+@@ -62594,11 +62594,11 @@ _wrap_new_Event__SWIG_1(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -895,7 +895,7 @@
      }
    }
    return self;
-@@ -47090,11 +47090,11 @@ _wrap_new_ListOfLocalParameters__SWIG_1(
+@@ -62657,11 +62657,11 @@ _wrap_new_Event__SWIG_2(int argc, VALUE
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -909,7 +909,7 @@
      }
    }
    return self;
-@@ -47670,11 +47670,11 @@ _wrap_new_InitialAssignment__SWIG_0(int
+@@ -64544,11 +64544,11 @@ _wrap_new_ListOfEvents__SWIG_0(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -923,7 +923,7 @@
      }
    }
    return self;
-@@ -47707,11 +47707,11 @@ _wrap_new_InitialAssignment__SWIG_1(int
+@@ -64598,11 +64598,11 @@ _wrap_new_ListOfEvents__SWIG_1(int argc,
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -937,7 +937,7 @@
      }
    }
    return self;
-@@ -47770,11 +47770,11 @@ _wrap_new_InitialAssignment__SWIG_2(int
+@@ -65118,11 +65118,11 @@ _wrap_new_EventAssignment__SWIG_0(int ar
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -951,7 +951,7 @@
      }
    }
    return self;
-@@ -48580,11 +48580,11 @@ _wrap_new_ListOfInitialAssignments__SWIG
+@@ -66048,11 +66048,11 @@ _wrap_new_ListOfEventAssignments__SWIG_0
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -965,7 +965,7 @@
      }
    }
    return self;
-@@ -48634,11 +48634,11 @@ _wrap_new_ListOfInitialAssignments__SWIG
+@@ -66102,11 +66102,11 @@ _wrap_new_ListOfEventAssignments__SWIG_1
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -979,7 +979,7 @@
      }
    }
    return self;
-@@ -50423,11 +50423,11 @@ _wrap_new_ListOfRules__SWIG_0(int argc,
+@@ -68135,11 +68135,11 @@ _wrap_new_Priority__SWIG_0(int argc, VAL
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -993,7 +993,7 @@
      }
    }
    return self;
-@@ -50477,11 +50477,11 @@ _wrap_new_ListOfRules__SWIG_1(int argc,
+@@ -68172,11 +68172,11 @@ _wrap_new_Priority__SWIG_1(int argc, VAL
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -1007,7 +1007,7 @@
      }
    }
    return self;
-@@ -51069,11 +51069,11 @@ _wrap_new_AlgebraicRule__SWIG_0(int argc
+@@ -68235,11 +68235,11 @@ _wrap_new_Priority__SWIG_2(int argc, VAL
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -1021,7 +1021,7 @@
      }
    }
    return self;
-@@ -51123,11 +51123,11 @@ _wrap_new_AlgebraicRule__SWIG_1(int argc
+@@ -69827,11 +69827,11 @@ _wrap_new_StoichiometryMath__SWIG_0(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -1035,7 +1035,7 @@
      }
    }
    return self;
-@@ -51278,11 +51278,11 @@ _wrap_new_AssignmentRule__SWIG_0(int arg
+@@ -69927,11 +69927,11 @@ _wrap_new_StoichiometryMath__SWIG_2(int
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -1049,7 +1049,7 @@
      }
    }
    return self;
-@@ -51332,11 +51332,11 @@ _wrap_new_AssignmentRule__SWIG_1(int arg
+@@ -70558,11 +70558,11 @@ _wrap_new_SBMLNamespaces__SWIG_0(int arg
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -1063,7 +1063,7 @@
      }
    }
    return self;
-@@ -51528,11 +51528,11 @@ _wrap_new_RateRule__SWIG_0(int argc, VAL
+@@ -70838,11 +70838,11 @@ _wrap_new_SBMLNamespaces__SWIG_5(int arg
      }
      catch (const SBMLConstructorException &e){
        static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
@@ -1077,694 +1077,8 @@
      }
    }
    return self;
-@@ -51582,11 +51582,11 @@ _wrap_new_RateRule__SWIG_1(int argc, VAL
+@@ -95042,7 +95042,7 @@ _wrap_new_XMLError__SWIG_7(int argc, VAL
      }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -51778,11 +51778,11 @@ _wrap_new_Constraint__SWIG_0(int argc, V
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -51815,11 +51815,11 @@ _wrap_new_Constraint__SWIG_1(int argc, V
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -51878,11 +51878,11 @@ _wrap_new_Constraint__SWIG_2(int argc, V
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -52419,11 +52419,11 @@ _wrap_new_ListOfConstraints__SWIG_0(int
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -52473,11 +52473,11 @@ _wrap_new_ListOfConstraints__SWIG_1(int
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -52823,11 +52823,11 @@ _wrap_new_Reaction__SWIG_0(int argc, VAL
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -52860,11 +52860,11 @@ _wrap_new_Reaction__SWIG_1(int argc, VAL
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -52923,11 +52923,11 @@ _wrap_new_Reaction__SWIG_2(int argc, VAL
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -55552,11 +55552,11 @@ _wrap_new_ListOfReactions__SWIG_0(int ar
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -55606,11 +55606,11 @@ _wrap_new_ListOfReactions__SWIG_1(int ar
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -56150,11 +56150,11 @@ _wrap_new_KineticLaw__SWIG_0(int argc, V
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -56187,11 +56187,11 @@ _wrap_new_KineticLaw__SWIG_1(int argc, V
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -56250,11 +56250,11 @@ _wrap_new_KineticLaw__SWIG_2(int argc, V
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -58832,11 +58832,11 @@ _wrap_new_SpeciesReference__SWIG_0(int a
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -58869,11 +58869,11 @@ _wrap_new_SpeciesReference__SWIG_1(int a
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -58932,11 +58932,11 @@ _wrap_new_SpeciesReference__SWIG_2(int a
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -59829,11 +59829,11 @@ _wrap_new_ListOfSpeciesReferences__SWIG_
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -59883,11 +59883,11 @@ _wrap_new_ListOfSpeciesReferences__SWIG_
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -60439,11 +60439,11 @@ _wrap_new_ModifierSpeciesReference__SWIG
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -60493,11 +60493,11 @@ _wrap_new_ModifierSpeciesReference__SWIG
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -60696,11 +60696,11 @@ _wrap_new_Event__SWIG_0(int argc, VALUE
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -60733,11 +60733,11 @@ _wrap_new_Event__SWIG_1(int argc, VALUE
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -60796,11 +60796,11 @@ _wrap_new_Event__SWIG_2(int argc, VALUE
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -62673,11 +62673,11 @@ _wrap_new_ListOfEvents__SWIG_0(int argc,
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -62727,11 +62727,11 @@ _wrap_new_ListOfEvents__SWIG_1(int argc,
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -63271,11 +63271,11 @@ _wrap_new_EventAssignment__SWIG_0(int ar
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -63308,11 +63308,11 @@ _wrap_new_EventAssignment__SWIG_1(int ar
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -63371,11 +63371,11 @@ _wrap_new_EventAssignment__SWIG_2(int ar
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -64181,11 +64181,11 @@ _wrap_new_ListOfEventAssignments__SWIG_0
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -64235,11 +64235,11 @@ _wrap_new_ListOfEventAssignments__SWIG_1
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -64815,11 +64815,11 @@ _wrap_new_Trigger__SWIG_0(int argc, VALU
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -64852,11 +64852,11 @@ _wrap_new_Trigger__SWIG_1(int argc, VALU
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -64915,11 +64915,11 @@ _wrap_new_Trigger__SWIG_2(int argc, VALU
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -65536,11 +65536,11 @@ _wrap_new_Delay__SWIG_0(int argc, VALUE
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -65573,11 +65573,11 @@ _wrap_new_Delay__SWIG_1(int argc, VALUE
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -65636,11 +65636,11 @@ _wrap_new_Delay__SWIG_2(int argc, VALUE
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -66247,11 +66247,11 @@ _wrap_new_Priority__SWIG_0(int argc, VAL
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -66284,11 +66284,11 @@ _wrap_new_Priority__SWIG_1(int argc, VAL
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -66347,11 +66347,11 @@ _wrap_new_Priority__SWIG_2(int argc, VAL
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -67893,11 +67893,11 @@ _wrap_new_StoichiometryMath__SWIG_0(int
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -67930,11 +67930,11 @@ _wrap_new_StoichiometryMath__SWIG_1(int
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -67993,11 +67993,11 @@ _wrap_new_StoichiometryMath__SWIG_2(int
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -68604,11 +68604,11 @@ _wrap_new_SBMLNamespaces__SWIG_0(int arg
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -68641,11 +68641,11 @@ _wrap_new_SBMLNamespaces__SWIG_1(int arg
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -68670,11 +68670,11 @@ _wrap_new_SBMLNamespaces__SWIG_2(int arg
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -68749,11 +68749,11 @@ _wrap_new_SBMLNamespaces__SWIG_3(int arg
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res3)) delete arg3;
-@@ -68819,11 +68819,11 @@ _wrap_new_SBMLNamespaces__SWIG_4(int arg
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res3)) delete arg3;
-@@ -68884,11 +68884,11 @@ _wrap_new_SBMLNamespaces__SWIG_5(int arg
-     }
-     catch (const SBMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-     catch (const SBMLExtensionException &e){
-       static VALUE cpperror = rb_define_class("SBMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -80352,7 +80352,7 @@ _wrap_new_XMLAttributes__SWIG_0(int argc
-     }
      catch (const XMLConstructorException &e){
        static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
 -      rb_raise(cpperror, e.what());    
@@ -1772,417 +1086,3 @@
      }
    }
    return self;
-@@ -80411,7 +80411,7 @@ _wrap_new_XMLAttributes__SWIG_1(int argc
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -82119,7 +82119,7 @@ _wrap_new_XMLNamespaces__SWIG_0(int argc
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -82178,7 +82178,7 @@ _wrap_new_XMLNamespaces__SWIG_1(int argc
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83147,7 +83147,7 @@ _wrap_new_XMLToken__SWIG_0(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83221,7 +83221,7 @@ _wrap_new_XMLToken__SWIG_1(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83287,7 +83287,7 @@ _wrap_new_XMLToken__SWIG_2(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83345,7 +83345,7 @@ _wrap_new_XMLToken__SWIG_3(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83408,7 +83408,7 @@ _wrap_new_XMLToken__SWIG_4(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83463,7 +83463,7 @@ _wrap_new_XMLToken__SWIG_5(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83510,7 +83510,7 @@ _wrap_new_XMLToken__SWIG_6(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83562,7 +83562,7 @@ _wrap_new_XMLToken__SWIG_7(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83606,7 +83606,7 @@ _wrap_new_XMLToken__SWIG_8(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83642,7 +83642,7 @@ _wrap_new_XMLToken__SWIG_9(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -83696,7 +83696,7 @@ _wrap_new_XMLToken__SWIG_10(int argc, VA
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res1)) delete arg1;
-@@ -83744,7 +83744,7 @@ _wrap_new_XMLToken__SWIG_11(int argc, VA
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res1)) delete arg1;
-@@ -83784,7 +83784,7 @@ _wrap_new_XMLToken__SWIG_12(int argc, VA
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res1)) delete arg1;
-@@ -83845,7 +83845,7 @@ _wrap_new_XMLToken__SWIG_13(int argc, VA
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87029,7 +87029,7 @@ _wrap_new_XMLNode__SWIG_0(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87065,7 +87065,7 @@ _wrap_new_XMLNode__SWIG_1(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87139,7 +87139,7 @@ _wrap_new_XMLNode__SWIG_2(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87205,7 +87205,7 @@ _wrap_new_XMLNode__SWIG_3(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87263,7 +87263,7 @@ _wrap_new_XMLNode__SWIG_4(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87326,7 +87326,7 @@ _wrap_new_XMLNode__SWIG_5(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87381,7 +87381,7 @@ _wrap_new_XMLNode__SWIG_6(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87428,7 +87428,7 @@ _wrap_new_XMLNode__SWIG_7(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87480,7 +87480,7 @@ _wrap_new_XMLNode__SWIG_8(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87524,7 +87524,7 @@ _wrap_new_XMLNode__SWIG_9(int argc, VALU
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87560,7 +87560,7 @@ _wrap_new_XMLNode__SWIG_10(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87614,7 +87614,7 @@ _wrap_new_XMLNode__SWIG_11(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res1)) delete arg1;
-@@ -87662,7 +87662,7 @@ _wrap_new_XMLNode__SWIG_12(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res1)) delete arg1;
-@@ -87702,7 +87702,7 @@ _wrap_new_XMLNode__SWIG_13(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res1)) delete arg1;
-@@ -87740,7 +87740,7 @@ _wrap_new_XMLNode__SWIG_14(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -87799,7 +87799,7 @@ _wrap_new_XMLNode__SWIG_15(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -89382,7 +89382,7 @@ _wrap_new_XMLOutputStream__SWIG_0(int ar
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -89458,7 +89458,7 @@ _wrap_new_XMLOutputStream__SWIG_1(int ar
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -89519,7 +89519,7 @@ _wrap_new_XMLOutputStream__SWIG_2(int ar
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -89570,7 +89570,7 @@ _wrap_new_XMLOutputStream__SWIG_3(int ar
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -89625,7 +89625,7 @@ _wrap_new_XMLOutputStream__SWIG_4(int ar
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -92695,7 +92695,7 @@ _wrap_new_XMLError__SWIG_0(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -92767,7 +92767,7 @@ _wrap_new_XMLError__SWIG_1(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -92831,7 +92831,7 @@ _wrap_new_XMLError__SWIG_2(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -92887,7 +92887,7 @@ _wrap_new_XMLError__SWIG_3(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -92935,7 +92935,7 @@ _wrap_new_XMLError__SWIG_4(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   if (SWIG_IsNewObj(res2)) delete arg2;
-@@ -92970,7 +92970,7 @@ _wrap_new_XMLError__SWIG_5(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -92995,7 +92995,7 @@ _wrap_new_XMLError__SWIG_6(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;
-@@ -93048,7 +93048,7 @@ _wrap_new_XMLError__SWIG_7(int argc, VAL
-     }
-     catch (const XMLConstructorException &e){
-       static VALUE cpperror = rb_define_class("XMLConstructorException", rb_eArgError);
--      rb_raise(cpperror, e.what());    
-+      rb_raise(cpperror, "%s", e.what());    
-     }
-   }
-   return self;

Modified: trunk/packages/libsbml/trunk/debian/patches/hardening.patch
===================================================================
--- trunk/packages/libsbml/trunk/debian/patches/hardening.patch	2014-02-26 23:02:32 UTC (rev 16334)
+++ trunk/packages/libsbml/trunk/debian/patches/hardening.patch	2014-02-27 08:26:42 UTC (rev 16335)
@@ -8,11 +8,9 @@
 ---
 Last-Update: <2013-01-22>
 
-Index: libsbml-5.7.0/src/bindings/matlab/Makefile.in
-===================================================================
---- libsbml-5.7.0.orig/src/bindings/matlab/Makefile.in	2013-01-13 09:33:06.000000000 +0100
-+++ libsbml-5.7.0/src/bindings/matlab/Makefile.in	2013-01-22 19:23:43.984536958 +0100
-@@ -70,12 +70,7 @@
+--- a/src/bindings/matlab/Makefile.in
++++ b/src/bindings/matlab/Makefile.in
+@@ -70,12 +70,7 @@ distfiles =                      \
          installSBML.m            \
          isoctave.m               \
          matlab-tags-regexp.txt   \
@@ -26,7 +24,7 @@
          test.xml                 \
          test/CMakeLists.txt
  
-@@ -142,7 +137,7 @@
+@@ -142,7 +137,7 @@ endif
  # is really necessary, but it seems prudent.
  
  define matlabrun
@@ -35,11 +33,9 @@
      $(LIBTOOL) -dlopen $(TOP_BUILDDIR)/src/libsbml.la --mode=execute $(1)
  endef
  
-Index: libsbml-5.7.0/src/bindings/matlab/mexopts-R2009-R2010.sh
-===================================================================
---- libsbml-5.7.0.orig/src/bindings/matlab/mexopts-R2009-R2010.sh	2013-01-13 09:33:06.000000000 +0100
-+++ libsbml-5.7.0/src/bindings/matlab/mexopts-R2009-R2010.sh	2013-01-22 19:22:22.000000000 +0100
-@@ -324,7 +324,13 @@
+--- a/src/bindings/matlab/mexopts-R2009-R2010.sh
++++ b/src/bindings/matlab/mexopts-R2009-R2010.sh
+@@ -324,7 +324,13 @@ echo "Error: Did not imbed 'options.sh'
  #
  #----------------------------------------------------------------------------
  #           CC="$CC"
@@ -54,24 +50,20 @@
  #           COPTIMFLAGS="$COPTIMFLAGS"
  #           CDEBUGFLAGS="$CDEBUGFLAGS"
  #           CLIBS="$CLIBS"
-Index: libsbml-5.7.0/src/bindings/perl/Makefile.in
-===================================================================
---- libsbml-5.7.0.orig/src/bindings/perl/Makefile.in	2013-01-13 09:33:11.000000000 +0100
-+++ libsbml-5.7.0/src/bindings/perl/Makefile.in	2013-01-22 19:22:22.000000000 +0100
-@@ -180,6 +180,8 @@
-       CXXFLAGS += -DUSE_LAYOUT
+--- a/src/bindings/perl/Makefile.in
++++ b/src/bindings/perl/Makefile.in
+@@ -177,6 +177,8 @@ ifeq (GCC,$(findstring GCC,$(shell $(CXX
  endif
  
+ 
 +CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS)
 +
  # If the last run was made with --enable-layout and this one isn't, or
  # vice-versa, the swig wrap files will be wrong for this run.  However, you
  # can't tell just by looking at file mod times, so you can't use normal
-Index: libsbml-5.7.0/config/makefile-common-actions.mk
-===================================================================
---- libsbml-5.7.0.orig/config/makefile-common-actions.mk	2012-01-13 02:25:36.000000000 +0100
-+++ libsbml-5.7.0/config/makefile-common-actions.mk	2013-01-22 19:22:22.000000000 +0100
-@@ -72,6 +72,15 @@
+--- a/config/makefile-common-actions.mk
++++ b/config/makefile-common-actions.mk
+@@ -72,6 +72,15 @@ endif
  # here is only to remove duplicates, which the 'sort' function does as a
  # documented side-effect.)
  

Modified: trunk/packages/libsbml/trunk/debian/patches/mexext.patch
===================================================================
--- trunk/packages/libsbml/trunk/debian/patches/mexext.patch	2014-02-26 23:02:32 UTC (rev 16334)
+++ trunk/packages/libsbml/trunk/debian/patches/mexext.patch	2014-02-27 08:26:42 UTC (rev 16335)
@@ -6,9 +6,9 @@
 ---
 Last-Update: <2013-03-14>
 
---- libsbml-5.8.0.orig/src/bindings/matlab/FindMatlab.cmake
-+++ libsbml-5.8.0/src/bindings/matlab/FindMatlab.cmake
-@@ -162,7 +162,7 @@ IF(WIN32)
+--- a/src/bindings/matlab/FindMatlab.cmake
++++ b/src/bindings/matlab/FindMatlab.cmake
+@@ -194,7 +194,7 @@ IF(WIN32)
    SET(MATLAB_MATLAB_COMMAND "${MATLAB_ROOT_PATH}/bin/matlab.bat")
  ELSE (WIN32)
  	SET(MATLAB_MEX_COMMAND "${MATLAB_ROOT_PATH}/bin/mex")




More information about the debian-med-commit mailing list