From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 12 04:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 670E6106566C for ; Mon, 12 Jan 2009 04:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 417C88FC1A for ; Mon, 12 Jan 2009 04:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0C4A1Dg030677 for ; Mon, 12 Jan 2009 04:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0C4A1ik030676; Mon, 12 Jan 2009 04:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 12 Jan 2009 04:10:01 GMT Resent-Message-Id: <200901120410.n0C4A1ik030676@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A656E1065672 for ; Mon, 12 Jan 2009 04:00:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 94EED8FC17 for ; Mon, 12 Jan 2009 04:00:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0C40bWH007759 for ; Mon, 12 Jan 2009 04:00:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0C40bw1007757; Mon, 12 Jan 2009 04:00:37 GMT (envelope-from nobody) Message-Id: <200901120400.n0C40bw1007757@www.freebsd.org> Date: Mon, 12 Jan 2009 04:00:37 GMT From: bf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/130399: [PATCH]lang/ruby18: unbreak build after openssl update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 04:10:01 -0000 >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: