pkgsrc/devel/ruby-deprecated/patches/patch-lib_deprecated.rb
taca 6d0f773e50 Avoid to define constant Deprecate since it is conflict with rubygems.
Newer rubygems poorly defines module Deprecate which could be
Gem::Deprecate.

Bump PKGREVISION.
2011-08-12 15:56:38 +00:00

12 lines
367 B
Ruby

$NetBSD: patch-lib_deprecated.rb,v 1.1 2011/08/12 15:56:38 taca Exp $
* Avoid to use Deprecate since it would be conflict with newer rubygems.
--- lib/deprecated.rb.orig 2011-08-09 00:21:03.000000000 +0000
+++ lib/deprecated.rb
@@ -195,5 +195,3 @@ Module.send(:define_method, :deprecate,
end)
Deprecated.set_action(:warn)
-
-Deprecate = Deprecated