diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ruby/patches |
Initial import
Diffstat (limited to 'package/ruby/patches')
-rw-r--r-- | package/ruby/patches/100-makefile-in.patch | 11 | ||||
-rw-r--r-- | package/ruby/patches/patch-lib_fileutils_rb | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/package/ruby/patches/100-makefile-in.patch b/package/ruby/patches/100-makefile-in.patch new file mode 100644 index 000000000..ecfb49ed8 --- /dev/null +++ b/package/ruby/patches/100-makefile-in.patch @@ -0,0 +1,11 @@ +--- ruby-1.8.6.orig/Makefile.in 2007-02-13 00:01:19.000000000 +0100 ++++ ruby-1.8.6/Makefile.in 2007-05-21 22:12:54.000000000 +0200 +@@ -131,7 +131,7 @@ fake.rb: Makefile + if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \ + class File; \ + remove_const :ALT_SEPARATOR; \ +- ALT_SEPARATOR = "\\"; \ ++ ALT_SEPARATOR = "\\\\"; \ + end; \ + end; \ + ' > $@ diff --git a/package/ruby/patches/patch-lib_fileutils_rb b/package/ruby/patches/patch-lib_fileutils_rb new file mode 100644 index 000000000..767a389d9 --- /dev/null +++ b/package/ruby/patches/patch-lib_fileutils_rb @@ -0,0 +1,12 @@ +$Id$ +--- ruby-1.8.6.orig/lib/fileutils.rb 2007-03-04 16:03:11.000000000 +0100 ++++ ruby-1.8.6/lib/fileutils.rb 2007-05-21 22:14:04.000000000 +0200 +@@ -1026,7 +1026,7 @@ module FileUtils + list.each do |path| + created = nocreate + begin +- File.utime(t, t, path) ++ #File.utime(t, t, path) + rescue Errno::ENOENT + raise if created + File.open(path, 'a') { |