21418284 ruby doesn't build on s11u3-26 and s12-78
authorApril Chin <april.chin@oracle.com>
Sat, 11 Jul 2015 09:17:55 -0700
changeset 4632 8152228598dc
parent 4624 45b5c64ab5bf
child 4634 a4940ac4947c
21418284 ruby doesn't build on s11u3-26 and s12-78
components/ruby/ruby-19/patches/09-ext_openssl_extconf_rb.patch
components/ruby/ruby-21/patches/09-ext_openssl_extconf_rb.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-19/patches/09-ext_openssl_extconf_rb.patch	Sat Jul 11 09:17:55 2015 -0700
@@ -0,0 +1,19 @@
+Fixes problem with deprecated SSLv2 functions in Solaris.
+Patch was developed in-house; it is Solaris specific and
+will not be contributed upstream.
+
+--- ruby-1.9.3-p551-orig/ext/openssl/extconf.rb	2012-09-08 23:39:23.000000000 -0700
++++ ruby-1.9.3-p551/ext/openssl/extconf.rb	2015-07-10 14:00:47.789098073 -0700
+@@ -101,9 +101,12 @@ have_func("OBJ_NAME_do_all_sorted")
+ have_func("SSL_SESSION_get_id")
+ have_func("SSL_SESSION_cmp")
+ have_func("OPENSSL_cleanse")
++=begin
++These functions are deprecated in Solaris
+ have_func("SSLv2_method")
+ have_func("SSLv2_server_method")
+ have_func("SSLv2_client_method")
++=end
+ unless have_func("SSL_set_tlsext_host_name", ['openssl/ssl.h'])
+   have_macro("SSL_set_tlsext_host_name", ['openssl/ssl.h']) && $defs.push("-DHAVE_SSL_SET_TLSEXT_HOST_NAME")
+ end
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-21/patches/09-ext_openssl_extconf_rb.patch	Sat Jul 11 09:17:55 2015 -0700
@@ -0,0 +1,19 @@
+Fixes problem with deprecated SSLv2 functions in Solaris.
+Patch was developed in-house; it is Solaris specific and
+will not be contributed upstream.
+
+--- ruby-2.1.6-orig/ext/openssl/extconf.rb	2013-10-27 23:32:24.000000000 -0700
++++ ruby-2.1.6/ext/openssl/extconf.rb	2015-07-10 13:55:14.910884056 -0700
+@@ -100,9 +100,12 @@ have_func("OBJ_NAME_do_all_sorted")
+ have_func("SSL_SESSION_get_id")
+ have_func("SSL_SESSION_cmp")
+ have_func("OPENSSL_cleanse")
++=begin
++These functions are deprecated in Solaris
+ have_func("SSLv2_method")
+ have_func("SSLv2_server_method")
+ have_func("SSLv2_client_method")
++=end
+ have_func("TLSv1_1_method")
+ have_func("TLSv1_1_server_method")
+ have_func("TLSv1_1_client_method")