freebsd portupgrade patch

patch PACKAGESITE error

--- ./lib/uri/ftp.rb.orig 2008-04-19 14:56:22.000000000 +0300
+++ ./lib/uri/ftp.rb 2009-05-18 22:06:25.000000000 +0300
@@ -176,9 +176,9 @@
#
# This method will then return "/pub/ruby"
#
- def path
- return @path.sub(/^\//,'').sub(/^%2F/i,'/')
- end
+ #def path
+ # return @path.sub(/^\//,'').sub(/^%2F/i,'/')
+ #end

def to_s
save_path = nil

0 意見: