]> git.pld-linux.org Git - packages/libprelude.git/blob - swig.patch
- fix building with gcc 5.x
[packages/libprelude.git] / swig.patch
1 --- libprelude-1.0.1/bindings/lua/libpreludecpp-lua.i~  2012-06-01 17:12:00.000000000 +0200
2 +++ libprelude-1.0.1/bindings/lua/libpreludecpp-lua.i   2015-12-27 21:26:09.568086198 +0100
3 @@ -21,12 +21,10 @@
4  *
5  *****/
6  
7 -# Exception map
8  %typemap(throws) Prelude::PreludeError %{
9          SWIG_exception(SWIG_RuntimeError, $1.what());
10  %};
11  
12 -# Lua overloading fixes
13  %ignore IDMEFCriteria(std::string const &);
14  %ignore IDMEFValue(int8_t);
15  %ignore IDMEFValue(uint8_t);
16 @@ -59,7 +57,6 @@
17  %ignore Set(char const *, float);
18  %ignore Set(char const *, std::string);
19  
20 -# Conversion not allowed
21  %ignore *::operator =;
22  
23  %ignore *::operator int() const;
24 --- libprelude-1.0.1/bindings/perl/libpreludecpp-perl.i~        2012-06-01 17:12:00.000000000 +0200
25 +++ libprelude-1.0.1/bindings/perl/libpreludecpp-perl.i 2015-12-27 21:28:22.063879316 +0100
26 @@ -21,13 +21,11 @@
27  *
28  *****/
29  
30 -# Exception map
31  %typemap(throws) Prelude::PreludeError %{
32          SWIG_exception(SWIG_RuntimeError, $1.what());
33  %};
34  
35  
36 -# Conversion not allowed
37  %ignore *::operator =;
38  %ignore *::operator int() const;
39  %ignore *::operator long() const;
This page took 0.067626 seconds and 3 git commands to generate.