pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/wesnoth wesnoth: Fix build with Boost 1.70
details: https://anonhg.NetBSD.org/pkgsrc/rev/1e67642c0efe
branches: trunk
changeset: 338986:1e67642c0efe
user: nia <nia%pkgsrc.org@localhost>
date: Mon Sep 02 17:50:33 2019 +0000
description:
wesnoth: Fix build with Boost 1.70
diffstat:
games/wesnoth/distinfo | 3 ++-
games/wesnoth/patches/patch-src_server_server__base.cpp | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 1461985c2acc -r 1e67642c0efe games/wesnoth/distinfo
--- a/games/wesnoth/distinfo Mon Sep 02 16:41:01 2019 +0000
+++ b/games/wesnoth/distinfo Mon Sep 02 17:50:33 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2019/04/25 20:09:29 adam Exp $
+$NetBSD: distinfo,v 1.64 2019/09/02 17:50:33 nia Exp $
SHA1 (wesnoth-1.14.7.tar.bz2) = 057465f29c760c6dd42ef7b0d99c34e0e8f30c85
RMD160 (wesnoth-1.14.7.tar.bz2) = e5d72e299d9b29e2269add5184f04a5383783ac7
@@ -6,4 +6,5 @@
Size (wesnoth-1.14.7.tar.bz2) = 452705178 bytes
SHA1 (patch-CMakeLists.txt) = 5c580a7b9719d769507c2c0ec3580d6cf523e7f0
SHA1 (patch-src_CMakeLists.txt) = 5839663ab11a9fdc31e89b74ce2708a251155d9f
+SHA1 (patch-src_server_server__base.cpp) = 4114c52d8920d96c4e2babbde0491ab559f357a2
SHA1 (patch-src_wesnoth.cpp) = 73fa69b47de231c5ce16f66a52b449d5242ffe67
diff -r 1461985c2acc -r 1e67642c0efe games/wesnoth/patches/patch-src_server_server__base.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wesnoth/patches/patch-src_server_server__base.cpp Mon Sep 02 17:50:33 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_server_server__base.cpp,v 1.1 2019/09/02 17:50:33 nia Exp $
+
+Remove redundant std::ref causing problems with Boost 1.70
+
+--- src/server/server_base.cpp.orig 2019-04-12 01:05:54.000000000 +0000
++++ src/server/server_base.cpp
+@@ -65,7 +65,7 @@ void server_base::start_server()
+
+ void server_base::serve()
+ {
+- socket_ptr socket = std::make_shared<boost::asio::ip::tcp::socket>(std::ref(io_service_));
++ socket_ptr socket = std::make_shared<boost::asio::ip::tcp::socket>(io_service_);
+ acceptor_.async_accept(*socket, std::bind(&server_base::accept_connection, this, _1, socket));
+ }
+
Home |
Main Index |
Thread Index |
Old Index