glib: restore patch

This patch needs to stay for packaging reasons.