summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-11 19:31:13 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-11 19:31:47 +0200
commit36657c65986a682da1fba76ca667769588c00371 (patch)
tree4c37fcd1647600b41690a30c2fb5e95f8d613f4d
parent12e62e346d1a23ffd6f0f449d0fd5e871b59769b (diff)
downloadslackbuilds-36657c65986a682da1fba76ca667769588c00371.tar.gz
libraries/gtkextra: Added a fix for glib>=2.31.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/gtkextra/gtkextra.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/gtkextra/gtkextra.SlackBuild b/libraries/gtkextra/gtkextra.SlackBuild
index a538036e4d..47c305bded 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 \