Extended version of the patch, which additionally fixes most of the warnings when running configure (see also bug #1002351).
Extended version of the patch, which additionally fixes most of the warnings when running configure (see also bug #1002351).