Fixed FS#31563

https://patchwork.archlinux.org/patch/664