diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-13 18:06:45 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-13 18:06:45 +0200 |
commit | 8edb1cd5a6a03b391003a1047e0b3ca6d22acd45 (patch) | |
tree | 751b35f97d8dcc1c9da4f0c81d9707701e8d6710 /package/ruby/patches/patch-ext_openssl_ossl_h | |
parent | 92dd4fee15cb7c33868c7d7213f82136955397b1 (diff) |
bulk package update
Diffstat (limited to 'package/ruby/patches/patch-ext_openssl_ossl_h')
-rw-r--r-- | package/ruby/patches/patch-ext_openssl_ossl_h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/ruby/patches/patch-ext_openssl_ossl_h b/package/ruby/patches/patch-ext_openssl_ossl_h new file mode 100644 index 000000000..b33b476aa --- /dev/null +++ b/package/ruby/patches/patch-ext_openssl_ossl_h @@ -0,0 +1,19 @@ +--- ruby-1.9.1-p378.orig/ext/openssl/ossl.h 2008-09-26 05:05:47.000000000 +0200 ++++ ruby-1.9.1-p378/ext/openssl/ossl.h 2010-06-12 21:10:22.781613550 +0200 +@@ -109,6 +109,16 @@ extern VALUE eOSSLError; + int string2hex(const unsigned char *, int, char **, int *); + + /* ++ * Compatibility ++ */ ++#if OPENSSL_VERSION_NUMBER >= 0x10000000L ++#define OSSL_MORE_CONST const ++#define STACK _STACK ++#else ++#define OSSL_MORE_CONST ++#endif ++ ++/* + * Data Conversion + */ + STACK_OF(X509) *ossl_x509_ary2sk0(VALUE); |