From: florian Date: Sat, 31 Jan 2009 17:57:25 +0000 (+0000) Subject: [package] fix ruby compilation failure (#4535) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=2f7a3d70282eb64d5c9323223255db24417c4cec;p=packages.git [package] fix ruby compilation failure (#4535) git-svn-id: svn://svn.openwrt.org/openwrt/packages@14327 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/ruby/patches/500-openssl_missing.patch b/lang/ruby/patches/500-openssl_missing.patch new file mode 100644 index 000000000..8d0eb2ea4 --- /dev/null +++ b/lang/ruby/patches/500-openssl_missing.patch @@ -0,0 +1,13 @@ +--- ruby-1.8.6-p36.orig/ext/openssl/openssl_missing.h 2007-02-13 00:01:19.000000000 +0100 ++++ ruby-1.8.6-p36/ext/openssl/openssl_missing.h 2009-01-31 11:26:31.000000000 +0100 +@@ -116,8 +116,8 @@ + int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); + int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); + int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); +-int BN_rand_range(BIGNUM *r, BIGNUM *range); +-int BN_pseudo_rand_range(BIGNUM *r, BIGNUM *range); ++//int BN_rand_range(BIGNUM *r, BIGNUM *range); ++//int BN_pseudo_rand_range(BIGNUM *r, BIGNUM *range); + char *CONF_get1_default_config_file(void); + int PEM_def_callback(char *buf, int num, int w, void *key); +