diff options
Diffstat (limited to 'package/ruby-ldap/patches')
-rw-r--r-- | package/ruby-ldap/patches/patch-conn_c | 24 | ||||
-rw-r--r-- | package/ruby-ldap/patches/patch-ldap_c | 13 |
2 files changed, 37 insertions, 0 deletions
diff --git a/package/ruby-ldap/patches/patch-conn_c b/package/ruby-ldap/patches/patch-conn_c new file mode 100644 index 000000000..368f3bc01 --- /dev/null +++ b/package/ruby-ldap/patches/patch-conn_c @@ -0,0 +1,24 @@ +--- ruby-ldap-0.9.8.orig/conn.c 2009-03-25 10:25:27.000000000 +0100 ++++ ruby-ldap-0.9.8/conn.c 2011-11-15 10:22:30.847665438 +0100 +@@ -497,8 +497,8 @@ rb_ldap_conn_set_option (VALUE self, VAL + #ifdef LDAP_OPT_X_TLS_KEYFILE + case LDAP_OPT_X_TLS_KEYFILE: + #endif +-#ifdef LDAP_OPT_X_TLS_PROTOCOL +- case LDAP_OPT_X_TLS_PROTOCOL: ++#ifdef LDAP_OPT_X_TLS_PROTOCOL_MIN ++ case LDAP_OPT_X_TLS_PROTOCOL_MIN: + #endif + #ifdef LDAP_OPT_X_TLS_CIPHER_SUITE + case LDAP_OPT_X_TLS_CIPHER_SUITE: +@@ -627,8 +627,8 @@ rb_ldap_conn_get_option (VALUE self, VAL + #ifdef LDAP_OPT_X_TLS_KEYFILE + case LDAP_OPT_X_TLS_KEYFILE: + #endif +-#ifdef LDAP_OPT_X_TLS_PROTOCOL +- case LDAP_OPT_X_TLS_PROTOCOL: ++#ifdef LDAP_OPT_X_TLS_PROTOCOL_MIN ++ case LDAP_OPT_X_TLS_PROTOCOL_MIN: + #endif + #ifdef LDAP_OPT_X_TLS_CIPHER_SUITE + case LDAP_OPT_X_TLS_CIPHER_SUITE: diff --git a/package/ruby-ldap/patches/patch-ldap_c b/package/ruby-ldap/patches/patch-ldap_c new file mode 100644 index 000000000..09972e77c --- /dev/null +++ b/package/ruby-ldap/patches/patch-ldap_c @@ -0,0 +1,13 @@ +--- ruby-ldap-0.9.8.orig/ldap.c 2009-03-25 10:25:27.000000000 +0100 ++++ ruby-ldap-0.9.8/ldap.c 2011-11-15 10:22:06.187664814 +0100 +@@ -420,8 +420,8 @@ Init_ldap () + #ifdef LDAP_OPT_X_TLS + rb_ldap_define_opt (LDAP_OPT_X_TLS); + #endif +-#ifdef LDAP_OPT_X_TLS_PROTOCOL +- rb_ldap_define_opt (LDAP_OPT_X_TLS_PROTOCOL); ++#ifdef LDAP_OPT_X_TLS_PROTOCOL_MIN ++ rb_ldap_define_opt (LDAP_OPT_X_TLS_PROTOCOL_MIN); + #endif + #ifdef LDAP_OPT_X_TLS_CIPHER_SUITE + rb_ldap_define_opt (LDAP_OPT_X_TLS_CIPHER_SUITE); |