There is updated patch which works for old and new version.
The fix works only for future release SWIG 4.4.0.
Build fails with SWIG 4.4.0
The script works for me, thanks.
Wrong type of ticket it should be 'Bug'
Sys-CPU is not available on CPAN
plplot test failed with SWIG 4