Add subversion package.
This commit is contained in:
40
subversion/08-ruby-test-fix.patch
Normal file
40
subversion/08-ruby-test-fix.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
Fix ruby tests.
|
||||
|
||||
From: David Rothenberger <d.rothenberger@entomo.com>
|
||||
|
||||
|
||||
---
|
||||
subversion/bindings/swig/ruby/svn/util.rb | 6 +++---
|
||||
1 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/subversion/bindings/swig/ruby/svn/util.rb b/subversion/bindings/swig/ruby/svn/util.rb
|
||||
index 8e05367..7fdf9ec 100644
|
||||
--- a/subversion/bindings/swig/ruby/svn/util.rb
|
||||
+++ b/subversion/bindings/swig/ruby/svn/util.rb
|
||||
@@ -17,7 +17,7 @@
|
||||
# under the License.
|
||||
# ====================================================================
|
||||
|
||||
-if /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
|
||||
+if /mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
|
||||
$LOAD_PATH.each do |load_path|
|
||||
svn_ext_path = File.join(load_path, "svn", "ext")
|
||||
if File.exists?(svn_ext_path)
|
||||
@@ -115,7 +115,7 @@ EOC
|
||||
end
|
||||
|
||||
def reset_message_directory
|
||||
- if /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
|
||||
+ if /mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
|
||||
top_directory = File.join(File.dirname(__FILE__), "..", "..")
|
||||
top_directory = File.expand_path(top_directory)
|
||||
locale_directory = File.join(top_directory, "share", "locale")
|
||||
@@ -140,7 +140,7 @@ EOC
|
||||
end
|
||||
|
||||
def windows?
|
||||
- /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
|
||||
+ /mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user