pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/rubygems Add a patch to make "gem contents" work.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b86c14d487d1
branches:  trunk
changeset: 519548:b86c14d487d1
user:      cube <cube%pkgsrc.org@localhost>
date:      Thu Oct 05 09:30:27 2006 +0000

description:
Add a patch to make "gem contents" work.

http://rubyforge.org/tracker/index.php?func=detail&aid=6032&group_id=126&atid=575

diffstat:

 misc/rubygems/Makefile         |   3 ++-
 misc/rubygems/distinfo         |   3 ++-
 misc/rubygems/patches/patch-aa |  12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 435363ccfc2a -r b86c14d487d1 misc/rubygems/Makefile
--- a/misc/rubygems/Makefile    Thu Oct 05 08:51:59 2006 +0000
+++ b/misc/rubygems/Makefile    Thu Oct 05 09:30:27 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2006/08/07 16:12:27 taca Exp $
+# $NetBSD: Makefile,v 1.5 2006/10/05 09:30:27 cube Exp $
 
 DISTNAME=      rubygems-0.9.0
+PKGREVISION=   1
 CATEGORIES=    misc ruby
 MASTER_SITES=  http://rubyforge.org/frs/download.php/11289/
 EXTRACT_SUFX=  .tgz
diff -r 435363ccfc2a -r b86c14d487d1 misc/rubygems/distinfo
--- a/misc/rubygems/distinfo    Thu Oct 05 08:51:59 2006 +0000
+++ b/misc/rubygems/distinfo    Thu Oct 05 09:30:27 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/08/07 16:12:27 taca Exp $
+$NetBSD: distinfo,v 1.5 2006/10/05 09:30:27 cube Exp $
 
 SHA1 (rubygems-0.9.0.tgz) = 90d2193e9bb91dbbfbb81ce749abcd827e3b6b53
 RMD160 (rubygems-0.9.0.tgz) = 7d2a4ec1a615f608e75c68ee346d957efbb34ed1
 Size (rubygems-0.9.0.tgz) = 174321 bytes
+SHA1 (patch-aa) = 3fc54ebc8b4ea141bea54fb5a96f1408c6ca5b95
diff -r 435363ccfc2a -r b86c14d487d1 misc/rubygems/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rubygems/patches/patch-aa    Thu Oct 05 09:30:27 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/10/05 09:30:27 cube Exp $
+
+--- lib/rubygems/gem_commands.rb.orig  2006-06-22 04:44:51.000000000 +0200
++++ lib/rubygems/gem_commands.rb
+@@ -1329,6 +1329,7 @@ module Gem
+       if s.empty?
+         path_kind = "default gem paths"
+         system = true
++        s = Gem::SourceIndex.installed_spec_directories
+       else
+         path_kind = "specified path"
+         system = false



Home | Main Index | Thread Index | Old Index