Does the bug in swig 2.0.7 affect only Windows builds? I am compiling swig 2.0.7 on Ubuntu 12.04 without a patch and Yafaray builds successfully.

Hi stoneage,some distributions apply the correction patch on their own and I can confirm Ubuntu swig 2.0.7 actually works because it's patched.By the way, if swig is not patched it wont compile, so testing if your version is correct you just need to try compiling the code.