Skip to content

community/libteam: fix build with swig 4.3

mio requested to merge mio/aports:libteam into master

Fix error with newer swig leading that led to rebuild failure, found on 3.21 builder (error log).

team/capi_wrap.c: In function '_wrap_team_hwaddr_get':
team/capi_wrap.c:3945:17: error: too few arguments to function 'SWIG_Python_AppendOutput'
 3945 |     resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtrAndSize(arg3,arg4));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
team/capi_wrap.c:1260:1: note: declared here
 1260 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~

Merge request reports

Loading