aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby22/files
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-04-02 07:26:10 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-04-02 07:26:10 +0800
commitcbf056fa3ca43de22ff91861845cb0d1f4ae129b (patch)
tree7182b177f424aa300da49bdae753f07e9be4ba83 /lang/ruby22/files
parenta29ecb2e4f027cb26251039a085f8107b6bca6c9 (diff)
downloadfreebsd-ports-gnome-cbf056fa3ca43de22ff91861845cb0d1f4ae129b.tar.gz
freebsd-ports-gnome-cbf056fa3ca43de22ff91861845cb0d1f4ae129b.tar.zst
freebsd-ports-gnome-cbf056fa3ca43de22ff91861845cb0d1f4ae129b.zip
- Fix runtime with OpenSSL after the removal of SSLv2 in head.
- Make the main LOCALBASE/bin files into symlinks to the actual version to make it simpler to tell which version is default.
Diffstat (limited to 'lang/ruby22/files')
-rw-r--r--lang/ruby22/files/patch-ext_openssl_extconf.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/ruby22/files/patch-ext_openssl_extconf.rb b/lang/ruby22/files/patch-ext_openssl_extconf.rb
new file mode 100644
index 000000000000..2577c1c1ec13
--- /dev/null
+++ b/lang/ruby22/files/patch-ext_openssl_extconf.rb
@@ -0,0 +1,15 @@
+--- ext/openssl/extconf.rb.orig 2015-04-01 22:28:09 UTC
++++ ext/openssl/extconf.rb
+@@ -100,9 +100,9 @@ have_func("OBJ_NAME_do_all_sorted")
+ have_func("SSL_SESSION_get_id")
+ have_func("SSL_SESSION_cmp")
+ have_func("OPENSSL_cleanse")
+-have_func("SSLv2_method")
+-have_func("SSLv2_server_method")
+-have_func("SSLv2_client_method")
++have_func("SSLv23_method")
++have_func("SSLv23_server_method")
++have_func("SSLv23_client_method")
+ have_func("TLSv1_1_method")
+ have_func("TLSv1_1_server_method")
+ have_func("TLSv1_1_client_method")