Patch by Kris Karas from https://bz.apache.org/bugzilla/attachment.cgi?id=35326&action=diff This patch is also used by Debian. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>