]> git.pld-linux.org Git - packages/flvtool2.git/blob - flvtool2-ruby19.patch
- made patch portable across ruby versions per suggestion from radek
[packages/flvtool2.git] / flvtool2-ruby19.patch
1 --- flvtool2-1.0.6/setup.rb~    2006-10-10 23:46:57.000000000 +0300
2 +++ flvtool2-1.0.6/setup.rb     2010-05-03 13:51:01.395678449 +0300
3 @@ -1311,6 +1311,9 @@
4        File.open(path) {|f|
5          line = f.gets
6        }
7 +         if RUBY_VERSION >= "1.9"
8 +                 line.force_encoding('ASCII-8BIT')
9 +         end
10        return nil unless /\A#!/ =~ line
11        parse(line)
12      end
This page took 0.080741 seconds and 3 git commands to generate.