]> git.pld-linux.org Git - packages/ruby-RMagick.git/blame - no-gem.patch
- updated no-gem patch
[packages/ruby-RMagick.git] / no-gem.patch
CommitLineData
b275c831
JR
1--- RMagick-4.1.0/lib/rmagick_internal.rb~ 2020-03-24 10:30:49.000000000 +0100
2+++ RMagick-4.1.0/lib/rmagick_internal.rb 2020-03-24 10:34:54.810077969 +0100
3@@ -285,8 +285,7 @@
4 # colorization rule
5 def alpha(x, y, method)
6 Kernel.raise ArgumentError, 'Unknown paint method' unless PAINT_METHOD_NAMES.key?(method.to_i)
7- name = Gem::Version.new(Magick::IMAGEMAGICK_VERSION) > Gem::Version.new('7.0.0') ? 'alpha ' : 'matte '
8- primitive name + sprintf('%g,%g, %s', x, y, PAINT_METHOD_NAMES[method.to_i])
9+ primitive 'alpha ' + sprintf('%g,%g, %s', x, y, PAINT_METHOD_NAMES[method.to_i])
3ed85234 10 end
3ed85234 11
b275c831 12 # Draw an arc.
This page took 0.114604 seconds and 4 git commands to generate.