development/mysql-workbench-gpl: Patched for new gtkmm.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Niels Horn 2011-05-02 15:57:46 -03:00
parent dcec8fbaf3
commit 9b1bd9e626
2 changed files with 16 additions and 1 deletions

View file

@ -4,10 +4,11 @@
# Written by André Geraldo Vieira <andre.geraldo@gmail.com>
# Modified by the SlackBuilds.org team
PRGNAM=mysql-workbench-gpl
VERSION=${VERSION:-5.2.29}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVERSION=$VERSION-src
@ -54,6 +55,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
#Patch for gtkmm-2.24
patch -p1 < $CWD/mysqlwb_gtkmm224.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \

View file

@ -0,0 +1,11 @@
--- mysql-workbench-gpl-5.2.29-src/frontend/linux/linux_utilities/toolbar_manager.cpp 2010-10-11 04:28:19.000000000 -0300
+++ mysql-workbench-gpl-5.2.29-src_patched/frontend/linux/linux_utilities/toolbar_manager.cpp 2011-05-02 08:51:38.000000000 -0300
@@ -31,7 +31,7 @@
}
Glib::RefPtr<Gtk::ListStore> model= Gtk::ListStore::create(*color_combo_columns);
- Gtk::ComboBox *combo= new Gtk::ComboBox(model);
+ Gtk::ComboBox *combo= new Gtk::ComboBox((Glib::RefPtr<Gtk::TreeModel> &)model);
combo->pack_start(color_combo_columns->image);