From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 29 19:40:10 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3F1116A420 for ; Sun, 29 Jan 2006 19:40:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64CA243D60 for ; Sun, 29 Jan 2006 19:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0TJe3ad034182 for ; Sun, 29 Jan 2006 19:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0TJe3CZ034181; Sun, 29 Jan 2006 19:40:03 GMT (envelope-from gnats) Resent-Date: Sun, 29 Jan 2006 19:40:03 GMT Resent-Message-Id: <200601291940.k0TJe3CZ034181@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, Alastair Rankine Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 560E616A420 for ; Sun, 29 Jan 2006 19:30:04 +0000 (GMT) (envelope-from a_rankine@optusnet.com.au) Received: from claude.girtby.info (c211-30-179-85.rivrw1.nsw.optusnet.com.au [211.30.179.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A40D043D7D for ; Sun, 29 Jan 2006 19:30:00 +0000 (GMT) (envelope-from a_rankine@optusnet.com.au) Received: by claude.girtby.info (Postfix, from userid 504) id DAC6B2E046; Mon, 30 Jan 2006 06:29:58 +1100 (EST) Message-Id: <20060129192958.DAC6B2E046@claude.girtby.info> Date: Mon, 30 Jan 2006 06:29:58 +1100 (EST) From: Alastair Rankine To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/92511: [patch] www/instiki port broken with ruby 1.8.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alastair Rankine List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2006 19:40:11 -0000 >Number: 92511 >Category: ports >Synopsis: [patch] www/instiki port broken with ruby 1.8.3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 29 19:40:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alastair Rankine >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD claude.girtby.info 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 12:29:55 EST 2005 alastair@claude.girtby.info:/usr/obj/usr/src/sys/CLAUDE i386 >Description: After upgrading to ruby 1.8.3, Instiki will no longer start up. This is due to changes in the ruby Logger interface, as used by the supplied active_support module. Official patch is here: http://dev.rubyonrails.org/attachment/ticket/2245/as_clean_logger_rb-fixed.patch Port maintainer kelley@insidesystems.net not responsive >How-To-Repeat: /usr/local/instiki/instiki >Fix: Official patch doesn't apply cleanly. The enclosed patch is functionally identical, suitable for including in the port. A bump in PORTREVISION is probably needed too. --- patch-as_clean_logger_rb begins here --- --- vendor/rails/activesupport/lib/active_support/clean_logger.rb.orig 2005-09-21 00:31:08.000000000 -0700 +++ vendor/rails/activesupport/lib/active_support/clean_logger.rb 2005-09-21 00:45:36.000000000 -0700 @@ -10,7 +10,9 @@ end private - remove_const "Format" + if const_defined?(:Format) # Not defined in Ruby 1.8.3 + remove_const "Format" + end Format = "%s\n" def format_message(severity, timestamp, msg, progname) Format % [msg] --- patch-as_clean_logger_rb ends here --- >Release-Note: >Audit-Trail: >Unformatted: