aports/testing/kopano-core/fix-build-with-musl-1.2.3.patch

12 lines
359 B
Diff

--- a/swig/IECServiceAdmin.i
+++ b/swig/IECServiceAdmin.i
@@ -11,7 +11,7 @@
%apply MAPILIST {LPECSVRNAMELIST};
%apply MAPILIST * {LPECSERVERLIST* OUTPUT};
-%typemap(in,numinputs=0) (bool *OUTPUT) (bool bBool = NULL) {
+%typemap(in,numinputs=0) (bool *OUTPUT) (bool bBool = 0) {
$1 = &bBool;
}
%typemap(argout, fragment="SWIG_From_int") bool *OUTPUT{