This is a patch to fix the bug that stopped me from packaging GNOME Calendar and possibly some other packages, too.