pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/wesnoth



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Sep  2 17:50:33 UTC 2019

Modified Files:
        pkgsrc/games/wesnoth: distinfo
Added Files:
        pkgsrc/games/wesnoth/patches: patch-src_server_server__base.cpp

Log Message:
wesnoth: Fix build with Boost 1.70


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/games/wesnoth/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/wesnoth/patches/patch-src_server_server__base.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/wesnoth/distinfo
diff -u pkgsrc/games/wesnoth/distinfo:1.63 pkgsrc/games/wesnoth/distinfo:1.64
--- pkgsrc/games/wesnoth/distinfo:1.63  Thu Apr 25 20:09:29 2019
+++ pkgsrc/games/wesnoth/distinfo       Mon Sep  2 17:50:33 2019
@@ -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 @@ SHA512 (wesnoth-1.14.7.tar.bz2) = 0b3081
 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

Added files:

Index: pkgsrc/games/wesnoth/patches/patch-src_server_server__base.cpp
diff -u /dev/null pkgsrc/games/wesnoth/patches/patch-src_server_server__base.cpp:1.1
--- /dev/null   Mon Sep  2 17:50:33 2019
+++ pkgsrc/games/wesnoth/patches/patch-src_server_server__base.cpp      Mon Sep  2 17:50:33 2019
@@ -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