Also adds a fix for gcc-4.7.x and a patch for glib >= 2.31. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>