Blame zarafa-7.1.4-swig20.patch

d83551f
Patch by Sander Hoentjen <sander@hoentjen.eu> for zarafa >= 7.1.4, which ensures
d83551f
building with swig 2.0.x by using PyInt_FromLong instead of SWIG_From_long.
d83551f
d83551f
--- zarafa-7.1.4/swig/icalmapi.i		2013-02-28 16:13:24.000000000 +0100
d83551f
+++ zarafa-7.1.4/swig/icalmapi.i.swig20		2013-03-23 23:22:08.000000000 +0100
d83551f
@@ -24,14 +24,14 @@
d83551f
 	$1 = &tem;;
d83551f
 }
d83551f
 %typemap(argout) (eIcalType* ) {
d83551f
-	%append_output(SWIG_From_long(*$1));
d83551f
+	%append_output(PyInt_FromLong(*$1));
d83551f
 }
d83551f
 
d83551f
 %typemap(in,numinputs=0) (time_t *) (time_t temp) {
d83551f
 	$1 = &tem;;
d83551f
 }
d83551f
 %typemap(argout) (time_t* ) {
d83551f
-	%append_output(SWIG_From_long(*$1));
d83551f
+	%append_output(PyInt_FromLong(*$1));
d83551f
 }
d83551f
 
d83551f
 %typemap(in,numinputs=0) (SBinary *) (SBinary temp) {