From 36657c65986a682da1fba76ca667769588c00371 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 11 Sep 2012 19:31:13 +0200 Subject: libraries/gtkextra: Added a fix for glib>=2.31. Signed-off-by: Matteo Bernardini --- libraries/gtkextra/gtkextra.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/gtkextra/gtkextra.SlackBuild b/libraries/gtkextra/gtkextra.SlackBuild index a538036e4dea..47c305bdedcd 100644 --- a/libraries/gtkextra/gtkextra.SlackBuild +++ b/libraries/gtkextra/gtkextra.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=gtkextra VERSION=${VERSION:-2.1.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} SRCNAM=gtk+extra @@ -64,6 +64,9 @@ patch -p1 < $CWD/gtkcolorcombo.patch # Patch code for gtk >= 2.21 (based on work by the folks from GTKada) patch -p1 < $CWD/gtkextra_gtk2.21.patch +# Fix for glib>=2.31.x +sed -i "s|glib/gunicode\.h|glib.h|" gtkextra/gtkcharsel.c + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3