imlib uses giflib, which was recently updated to 4.2.0
During that update, PrintGifError(), a published interface from
giflib, was deleted.
Other ports (e.g. magicpoint) require imlib and PrintGifError()
and fail to compile.
This patch might not be the perfect solution (should that one
be provided by giflib ?), but it seems to work 8-}