Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 15:50:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456169 - head/security/i2pd/files
Message-ID:  <201712121550.vBCFopKj032207@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 12 15:50:51 2017
New Revision: 456169
URL: https://svnweb.freebsd.org/changeset/ports/456169

Log:
  - Fix build with boost 1.66
  
  PR:		224179
  Reported by:	jbeich@FreeBSD.org

Added:
  head/security/i2pd/files/patch-daemon_I2PControl.cpp   (contents, props changed)
  head/security/i2pd/files/patch-libi2pd_I2PEndian.h   (contents, props changed)
  head/security/i2pd/files/patch-libi2pd_Reseed.cpp   (contents, props changed)

Added: head/security/i2pd/files/patch-daemon_I2PControl.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/i2pd/files/patch-daemon_I2PControl.cpp	Tue Dec 12 15:50:51 2017	(r456169)
@@ -0,0 +1,11 @@
+--- daemon/I2PControl.cpp.orig	2017-12-04 18:40:32 UTC
++++ daemon/I2PControl.cpp
+@@ -35,7 +35,7 @@ namespace client
+ 	I2PControlService::I2PControlService (const std::string& address, int port):
+ 		m_IsRunning (false), m_Thread (nullptr),
+ 		m_Acceptor (m_Service, boost::asio::ip::tcp::endpoint(boost::asio::ip::address::from_string(address), port)),
+-		m_SSLContext (m_Service, boost::asio::ssl::context::sslv23),
++		m_SSLContext (boost::asio::ssl::context::sslv23),
+ 		m_ShutdownTimer (m_Service)
+ 	{
+ 		i2p::config::GetOption("i2pcontrol.password", m_Password);

Added: head/security/i2pd/files/patch-libi2pd_I2PEndian.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/i2pd/files/patch-libi2pd_I2PEndian.h	Tue Dec 12 15:50:51 2017	(r456169)
@@ -0,0 +1,16 @@
+--- libi2pd/I2PEndian.h.orig	2017-12-04 18:40:32 UTC
++++ libi2pd/I2PEndian.h
+@@ -3,10 +3,10 @@
+ #include <inttypes.h>
+ #include <string.h>
+ 
+-#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
+-#include <endian.h>
+-#elif __FreeBSD__
++#if defined(__FreeBSD__)
+ #include <sys/endian.h>
++#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
++#include <endian.h>
+ #elif defined(__APPLE__) && defined(__MACH__)
+ 
+ #include <libkern/OSByteOrder.h>

Added: head/security/i2pd/files/patch-libi2pd_Reseed.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/i2pd/files/patch-libi2pd_Reseed.cpp	Tue Dec 12 15:50:51 2017	(r456169)
@@ -0,0 +1,11 @@
+--- libi2pd/Reseed.cpp.orig	2017-12-04 18:40:32 UTC
++++ libi2pd/Reseed.cpp
+@@ -522,7 +522,7 @@ namespace data
+ 		boost::asio::io_service service;
+ 		boost::system::error_code ecode;
+ 
+-		boost::asio::ssl::context ctx(service, boost::asio::ssl::context::sslv23);
++		boost::asio::ssl::context ctx(boost::asio::ssl::context::sslv23);
+ 		ctx.set_verify_mode(boost::asio::ssl::context::verify_none);
+ 		boost::asio::ssl::stream<boost::asio::ip::tcp::socket> s(service, ctx);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712121550.vBCFopKj032207>