Package: swig4.0 Version: 4.0.2-1 Unfortunately, the last released upstream swig version lacked support for nodejs12, which is the version that bullseye ships. I've identified the following four patches from upstream that are needed on top of 4.0.2:
554aeead5 Introduce macros to support both Handle and Local types 26fc996ad Replace Handle with Local depending on Node.js version 113d78a08 Add support for Node.js v12 0e36b5d6f Fixes for node v12.0-12.5 They apply cleanly and resolve the issues I was seeing with building mraa against Debian's swig4.0. Would be great if the bullseye swig package could still be fixed for use with the bullseye nodejs package.