diff --git a/net/i2pd/PRE_BUILD b/net/i2pd/PRE_BUILD
index accc62b..f1af7bd 100755
--- a/net/i2pd/PRE_BUILD
+++ b/net/i2pd/PRE_BUILD
@@ -1,8 +1,6 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&
-patch -p0 < "${SPELL_DIRECTORY}/libressl.patch" &&
-
if spell_ok gcc && is_version_less $(installed_version gcc) 4.7; then
patch -p0 < "${SPELL_DIRECTORY}/gcc46.patch" &&
diff --git a/net/i2pd/gcc46.patch b/net/i2pd/gcc46.patch
index d7ed689..2c3db93 100644
--- a/net/i2pd/gcc46.patch
+++ b/net/i2pd/gcc46.patch
@@ -29,11 +29,24 @@
{
m_InboundTunnels.push_back (newTunnel);
auto pool = newTunnel->GetTunnelPool ();
---- TunnelPool.cpp.orig 2016-10-17 00:37:40.000000000 -0400
-+++ TunnelPool.cpp 2016-10-19 19:59:27.000000000 -0400
-@@ -9,6 +9,12 @@
- #include "Log.h"
- #include "TunnelPool.h"
+--- TunnelPool.h.orig
++++ TunnelPool.h
+@@ -106,8 +106,8 @@ namespace tunnel
+ std::mutex m_CustomPeerSelectorMutex;
+ TunnelPeerSelector m_CustomPeerSelector;
+
+- uint64_t m_MinLatency=0; // if > 0 this tunnel pool will try
building tunnels with minimum latency by ms
+- uint64_t m_MaxLatency=0; // if > 0 this tunnel pool will try
building tunnels with maximum latency by ms
++ uint64_t m_MinLatency; // if > 0 this tunnel pool will try
building tunnels with minimum latency by ms
++ uint64_t m_MaxLatency; // if > 0 this tunnel pool will try
building tunnels with maximum latency by ms
+
+ public:
+
+--- TunnelPool.cpp.orig
++++ TunnelPool.cpp
+@@ -14,6 +14,12 @@
+ #include "Event.h"
+ #endif