diff options
author | joerg <joerg@pkgsrc.org> | 2020-05-14 19:27:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-05-14 19:27:01 +0000 |
commit | 27f6786102d60a861e45c044f50fb72ae141de67 (patch) | |
tree | 33f124655976d5c3ffc60129208b6b186f7bffe6 /games/widelands | |
parent | 9f4f4bc2e7b84baf691fb4c178c3fa1d23b03e57 (diff) | |
download | pkgsrc-27f6786102d60a861e45c044f50fb72ae141de67.tar.gz |
Fix boost::placeholders fallout
Diffstat (limited to 'games/widelands')
-rw-r--r-- | games/widelands/distinfo | 3 | ||||
-rw-r--r-- | games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/games/widelands/distinfo b/games/widelands/distinfo index 3e787481a1b..733771ef383 100644 --- a/games/widelands/distinfo +++ b/games/widelands/distinfo @@ -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 @@ Size (widelands-build20.tar.bz2) = 232364340 bytes 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 --git a/games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h b/games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h new file mode 100644 index 00000000000..ea8a680f515 --- /dev/null +++ b/games/widelands/patches/patch-src_editor_ui__menus_categorized__item__selection__menu.h @@ -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); |