Patch of http://sourceforge.net/p/swig/mailman/message/29816385

See the page in title.