packages libiconv glib: fix for removed gets() and apply patches in glib build