Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/widelands Fix boost::placeholders fallout



details:   https://anonhg.NetBSD.org/pkgsrc/rev/305bd854cff7
branches:  trunk
changeset: 431593:305bd854cff7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:27:01 2020 +0000

description:
Fix boost::placeholders fallout

diffstat:

 games/widelands/distinfo                                                                |   3 +-
 games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h |  13 ++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r fdc5e70ea3c5 -r 305bd854cff7 games/widelands/distinfo
--- a/games/widelands/distinfo  Thu May 14 19:26:46 2020 +0000
+++ b/games/widelands/distinfo  Thu May 14 19:27:01 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2019/12/19 22:16:34 joerg Exp $
+$NetBSD: distinfo,v 1.4 2020/05/14 19:27:01 joerg Exp $
 
 SHA1 (widelands-build20.tar.bz2) = a2fdedf81c08fd08809b8556c955a6a7f32c1eed
 RMD160 (widelands-build20.tar.bz2) = 4adfa2f3ae2e4ceae7a04ca1162deed0f3e7632f
@@ -7,3 +7,4 @@
 SHA1 (patch-CMakeLists.txt) = 8b400bc5554964378275d304943e6489c82d9915
 SHA1 (patch-src_CMakeLists.txt) = 3d06616eefa3145ff0062c39b4ce026e0acad8c1
 SHA1 (patch-src_base_i18n.cc) = ed25d4bafc90c9bc52bb1636824f91b5734ff742
+SHA1 (patch-src_editor_ui__menus_categorized__item__selection__menu.h) = 5f81ded849263f3569d243b952c97e639ac437e1
diff -r fdc5e70ea3c5 -r 305bd854cff7 games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h   Thu May 14 19:27:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_editor_ui__menus_categorized__item__selection__menu.h,v 1.1 2020/05/14 19:27:01 joerg Exp $
+
+--- src/editor/ui_menus/categorized_item_selection_menu.h.orig 2020-05-13 21:25:15.373337659 +0000
++++ src/editor/ui_menus/categorized_item_selection_menu.h
+@@ -124,7 +124,7 @@ CategorizedItemSelectionMenu<Description
+ 
+                       UI::Checkbox* cb = create_checkbox(horizontal, descriptions_.get(i));
+                       cb->set_state(tool_->is_enabled(i));
+-                      cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, _1));
++                      cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, boost::placeholders::_1));
+                       checkboxes_[i] = cb;
+                       horizontal->add(cb);
+                       horizontal->add_space(kSpacing);



Home | Main Index | Thread Index | Old Index