From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A14A81382C5 for ; Sun, 14 Jun 2020 22:13:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5799E0A9B; Sun, 14 Jun 2020 22:13:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C071FE0A9B for ; Sun, 14 Jun 2020 22:13:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5BB434F08C for ; Sun, 14 Jun 2020 22:13:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67C24242 for ; Sun, 14 Jun 2020 22:13:55 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1592172808.030ea7d9d612e6effe3f833e5f7cba260be9452c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/widelands/files/widelands-0.20-boost-1.73.patch games-strategy/widelands/widelands-0.20-r1.ebuild X-VCS-Directories: games-strategy/widelands/ games-strategy/widelands/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 030ea7d9d612e6effe3f833e5f7cba260be9452c X-VCS-Branch: master Date: Sun, 14 Jun 2020 22:13:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 99b1ae6a-1fd3-4fea-936d-78904e015876 X-Archives-Hash: c8fea1f2d44c67f750d8918f78707e60 commit: 030ea7d9d612e6effe3f833e5f7cba260be9452c Author: David Seifert gentoo org> AuthorDate: Sun Jun 14 22:13:28 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Jun 14 22:13:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030ea7d9 games-strategy/widelands: Fix for boost 1.73 Closes: https://bugs.gentoo.org/724316 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: David Seifert gentoo.org> .../files/widelands-0.20-boost-1.73.patch | 22 ++++++++++++++++++++++ games-strategy/widelands/widelands-0.20-r1.ebuild | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch b/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch new file mode 100644 index 00000000000..99a8c51190b --- /dev/null +++ b/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch @@ -0,0 +1,22 @@ +--- a/src/editor/ui_menus/categorized_item_selection_menu.h ++++ b/src/editor/ui_menus/categorized_item_selection_menu.h +@@ -124,7 +124,7 @@ + + 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); +--- a/src/ui_basic/box.cc ++++ b/src/ui_basic/box.cc +@@ -104,7 +104,7 @@ + int maxbreadth = mindesiredbreadth_; + + for (uint32_t idx = 0; idx < items_.size(); ++idx) { +- int depth, breadth = 0; ++ int depth = 0, breadth = 0; + get_item_desired_size(idx, &depth, &breadth); + + totaldepth += depth; diff --git a/games-strategy/widelands/widelands-0.20-r1.ebuild b/games-strategy/widelands/widelands-0.20-r1.ebuild index 14a80be7f6c..c0629174bc7 100644 --- a/games-strategy/widelands/widelands-0.20-r1.ebuild +++ b/games-strategy/widelands/widelands-0.20-r1.ebuild @@ -43,8 +43,9 @@ CMAKE_BUILD_TYPE="Release" S="${WORKDIR}/${MY_P}" PATCHES=( - "${FILESDIR}/${PN}-0.20_rc1-cxxflags.patch" - "${FILESDIR}/${PN}-0.20-glvnd.patch" + "${FILESDIR}"/${PN}-0.20_rc1-cxxflags.patch + "${FILESDIR}"/${PN}-0.20-glvnd.patch + "${FILESDIR}"/${PN}-0.20-boost-1.73.patch ) src_prepare() {