summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-11-16 17:16:48 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-11-16 17:16:48 +0000
commite20c8d590388429fa1c2b0897b082163ea3b218c (patch)
tree7d939db245ceec7a9b5594ba72d0304e82e6c8e0 /dev-cpp/asio/files
parentVersion bumped. (diff)
downloadhistorical-e20c8d590388429fa1c2b0897b082163ea3b218c.tar.gz
historical-e20c8d590388429fa1c2b0897b082163ea3b218c.tar.bz2
historical-e20c8d590388429fa1c2b0897b082163ea3b218c.zip
Added recursive-init patch, bug #153514 - thanks to Jack Lloyd. Dropped old version.
Package-Manager: portage-2.1.2_rc1-r5
Diffstat (limited to 'dev-cpp/asio/files')
-rw-r--r--dev-cpp/asio/files/asio-0.3.7-recursive_init.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-cpp/asio/files/asio-0.3.7-recursive_init.patch b/dev-cpp/asio/files/asio-0.3.7-recursive_init.patch
new file mode 100644
index 000000000000..20f5e2aaba7a
--- /dev/null
+++ b/dev-cpp/asio/files/asio-0.3.7-recursive_init.patch
@@ -0,0 +1,17 @@
+--- ./include/asio/ssl/detail/openssl_init.hpp.orig 2006-11-15 00:10:08.000000000 +0100
++++ ./include/asio/ssl/detail/openssl_init.hpp 2006-11-15 00:10:38.000000000 +0100
+@@ -45,13 +45,13 @@
+ {
+ ::SSL_library_init();
+ ::SSL_load_error_strings();
++ ::OpenSSL_add_ssl_algorithms();
+
+ mutexes_.resize(::CRYPTO_num_locks());
+ for (size_t i = 0; i < mutexes_.size(); ++i)
+ mutexes_[i].reset(new asio::detail::mutex);
+ ::CRYPTO_set_locking_callback(&do_init::openssl_locking_func);
+
+- ::OpenSSL_add_ssl_algorithms();
+ }
+ }
+