ports/92511: [patch] www/instiki port broken with ruby 1.8.3
Alastair Rankine
arsptr at optusnet.com.au
Sun Jan 29 19:40:11 UTC 2006
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list