summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-12-31 12:33:40 +0100
committerPacho Ramos <pacho@gentoo.org>2015-12-31 12:33:50 +0100
commit632f38845a2fb3d05467baf7dadd6107f3ce75b8 (patch)
tree92f9eb7dd12772eae1d9a91982f2471ec8a1181e /x11-misc/easystroke/files
parentdev-perl/Curses: Version bump (diff)
downloadgentoo-632f38845a2fb3d05467baf7dadd6107f3ce75b8.tar.gz
gentoo-632f38845a2fb3d05467baf7dadd6107f3ce75b8.tar.bz2
gentoo-632f38845a2fb3d05467baf7dadd6107f3ce75b8.zip
x11-misc/easystroke: Fix building with latest glibmm/libsigc++ with ArchLinux patch (#569606)
Package-Manager: portage-2.2.26
Diffstat (limited to 'x11-misc/easystroke/files')
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch b/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch
new file mode 100644
index 000000000000..b628d1b14d34
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch
@@ -0,0 +1,18 @@
+diff -uprb easystroke-0.6.0.orig/actions.cc easystroke-0.6.0/actions.cc
+--- easystroke-0.6.0.orig/actions.cc 2013-03-27 17:52:38.000000000 +0200
++++ easystroke-0.6.0/actions.cc 2015-12-07 22:07:17.720041171 +0200
+@@ -51,10 +51,11 @@ void TreeViewMulti::on_drag_begin(const
+ context->set_icon(pb, pb->get_width(), pb->get_height());
+ }
+
+-bool negate(bool b) { return !b; }
+-
+ TreeViewMulti::TreeViewMulti() : Gtk::TreeView(), pending(false) {
+- get_selection()->set_select_function(sigc::group(&negate, sigc::ref(pending)));
++ get_selection()->set_select_function(
++ [this](Glib::RefPtr<Gtk::TreeModel> const&, Gtk::TreeModel::Path const&, bool) {
++ return !pending;
++ });
+ }
+
+ enum Type { COMMAND, KEY, TEXT, SCROLL, IGNORE, BUTTON, MISC };