$NetBSD: patch-ac,v 1.1 2010/09/10 05:41:27 taca Exp $

Fix for Ruby 1.9, commit b26c9d218711b186b565 from
http://github.com/mutoh/gettext/commits/master.

--- lib/gettext/runtime/class_info.rb.orig	2010-08-27 06:59:01.000000000 +0000
+++ lib/gettext/runtime/class_info.rb
@@ -12,7 +12,7 @@ module GetText
     # klass should kind of the class, not object.
     def normalize_class(klass)
       ret = (klass.kind_of? Module) ? klass : klass.class
-      if ret.name =~ /^\#<|^$/ or ret == GetText
+      if ret.name =~ /^\#<|^$/ or ret == GetText or ret.name.nil?
         ret = Object
       end
       ret
