Apply patch from <http://bugs.debian.org/513305#67>.