ports/130399: [PATCH]lang/ruby18: unbreak build after openssl update
bf
bf2006a at yahoo.com
Mon Jan 12 04:10:01 UTC 2009
>Number: 130399
>Category: ports
>Synopsis: [PATCH]lang/ruby18: unbreak build after openssl update
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 12 04:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: bf
>Release: 8-CURRENT i386
>Organization:
-
>Environment:
>Description:
In addition to the (horrifying!) update to certificate handling in the latest
openssl release, there were a number of other changes, two of which broke
the lang/ruby18 build (at least on my machine). I've attached a patch that
unbreaks the build.
Regards,
b.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN ruby18.orig/files/patch-ext_openssl_openssl_missing.h ruby18/files/patch-ext_openssl_openssl_missing.h
--- ruby18.orig/files/patch-ext_openssl_openssl_missing.h 1969-12-31 19:00:00.000000000 -0500
+++ ruby18/files/patch-ext_openssl_openssl_missing.h 2009-01-11 20:41:44.000000000 -0500
@@ -0,0 +1,13 @@
+--- ext/openssl/openssl_missing.h.orig 2009-01-11 20:16:56.000000000 -0500
++++ ext/openssl/openssl_missing.h 2009-01-11 20:17:30.000000000 -0500
+@@ -120,8 +120,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, const BIGNUM *range);
++int BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range);
+ char *CONF_get1_default_config_file(void);
+ int PEM_def_callback(char *buf, int num, int w, void *key);
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list