aboutsummaryrefslogtreecommitdiffstats
path: root/security/certificate-transparency/files
diff options
context:
space:
mode:
authorultima <ultima@FreeBSD.org>2018-01-05 03:16:45 +0800
committerultima <ultima@FreeBSD.org>2018-01-05 03:16:45 +0800
commitde0714ea11a1df14410839b7851dff71b6ec7f2a (patch)
tree755c10cc85b280ab95a25b9e0f4d0e36eedc52f3 /security/certificate-transparency/files
parent053d5fcffa4fe07fe3184f7bc09de24824a3afea (diff)
downloadfreebsd-ports-gnome-de0714ea11a1df14410839b7851dff71b6ec7f2a.tar.gz
freebsd-ports-gnome-de0714ea11a1df14410839b7851dff71b6ec7f2a.tar.zst
freebsd-ports-gnome-de0714ea11a1df14410839b7851dff71b6ec7f2a.zip
* Revision bump for libevhtp
* Fix build errors for updated libevhtp MFH: 2018Q1
Diffstat (limited to 'security/certificate-transparency/files')
-rw-r--r--security/certificate-transparency/files/patch-cpp_net_connection__pool.cc18
-rw-r--r--security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc11
2 files changed, 29 insertions, 0 deletions
diff --git a/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc b/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc
new file mode 100644
index 000000000000..866ea194b9a8
--- /dev/null
+++ b/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc
@@ -0,0 +1,18 @@
+--- cpp/net/connection_pool.cc.orig 2018-01-04 08:45:06 UTC
++++ cpp/net/connection_pool.cc
+@@ -454,12 +454,12 @@ unique_ptr<ConnectionPool::Connection> ConnectionPool:
+ kZeroMillis};
+ evhtp_connection_set_timeouts(handle->connection(), &read_timeout,
+ &write_timeout);
+- evhtp_set_hook(&handle->connection()->hooks, evhtp_hook_on_conn_error,
++ evhtp_connection_set_hook(handle->connection(), evhtp_hook_on_conn_error,
+ reinterpret_cast<evhtp_hook>(
+ EvConnection::ConnectionErrorHook),
+ reinterpret_cast<void*>(conn.get()));
+- evhtp_set_hook(
+- &handle->connection()->hooks, evhtp_hook_on_connection_fini,
++ evhtp_connection_set_hook(
++ handle->connection(), evhtp_hook_on_connection_fini,
+ reinterpret_cast<evhtp_hook>(EvConnection::ConnectionFinishedHook),
+ // We'll hold on to another shared_ptr to the Connection
+ // until evhtp tells us that it's finished with the cnxn.
diff --git a/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc b/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc
new file mode 100644
index 000000000000..e4457fa51443
--- /dev/null
+++ b/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc
@@ -0,0 +1,11 @@
+--- cpp/net/url_fetcher.cc.orig 2018-01-04 08:54:28 UTC
++++ cpp/net/url_fetcher.cc
+@@ -4,7 +4,7 @@
+ #include <event2/keyvalq_struct.h>
+ #include <evhtp.h>
+ #include <glog/logging.h>
+-#include <htparse.h>
++#include <parser.h>
+
+ #include "net/connection_pool.h"
+ #include "util/thread_pool.h"