mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/mysql-workbench-gpl: Patched for new gtkmm.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
dcec8fbaf3
commit
9b1bd9e626
2 changed files with 16 additions and 1 deletions
|
@ -4,10 +4,11 @@
|
||||||
|
|
||||||
# Written by André Geraldo Vieira <andre.geraldo@gmail.com>
|
# Written by André Geraldo Vieira <andre.geraldo@gmail.com>
|
||||||
|
|
||||||
|
# Modified by the SlackBuilds.org team
|
||||||
|
|
||||||
PRGNAM=mysql-workbench-gpl
|
PRGNAM=mysql-workbench-gpl
|
||||||
VERSION=${VERSION:-5.2.29}
|
VERSION=${VERSION:-5.2.29}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
SRCVERSION=$VERSION-src
|
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 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
#Patch for gtkmm-2.24
|
||||||
|
patch -p1 < $CWD/mysqlwb_gtkmm224.patch
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./autogen.sh \
|
./autogen.sh \
|
||||||
|
|
11
development/mysql-workbench-gpl/mysqlwb_gtkmm224.patch
Normal file
11
development/mysql-workbench-gpl/mysqlwb_gtkmm224.patch
Normal 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);
|
||||||
|
|
Loading…
Reference in a new issue