summarylogtreecommitdiffstats
path: root/boost-15500.patch
diff options
context:
space:
mode:
authorbartus2018-03-22 18:25:40 +0100
committerbartus2018-03-22 18:25:40 +0100
commit10b79683969c3c140d20df27aadff76401ad80d0 (patch)
tree979c296dc5f5bbe924e30361fa6324d5e0ec5493 /boost-15500.patch
parentb88ad2678e819216f88c03231f80698c3e407abc (diff)
downloadaur-10b79683969c3c140d20df27aadff76401ad80d0.tar.gz
patch agains boot>1.55
Diffstat (limited to 'boost-15500.patch')
-rw-r--r--boost-15500.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/boost-15500.patch b/boost-15500.patch
new file mode 100644
index 000000000000..fd6fb40e3d37
--- /dev/null
+++ b/boost-15500.patch
@@ -0,0 +1,12 @@
+diff -r f56582df55f4 core/renderfarm.cpp
+--- a/core/renderfarm.cpp Sun Jul 23 13:46:05 2017 +0200
++++ b/core/renderfarm.cpp Thu Mar 22 10:38:17 2018 +0100
+@@ -892,7 +892,7 @@
+ stream.rdbuf()->set_option(boost::asio::socket_base::keep_alive(true));
+ #if defined(__linux__) || defined(__MACOSX__)
+ // Set keep alive parameters on *nix platforms
+- const int nativeSocket = static_cast<int>(stream.rdbuf()->native());
++ const int nativeSocket = static_cast<int>(stream.rdbuf()->native_handle());
+ int optval = 3; // Retry count
+ const socklen_t optlen = sizeof(optval);
+ setsockopt(nativeSocket, SOL_TCP, TCP_KEEPCNT, &optval, optlen);