diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-03-29 08:50:33 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-03-29 08:50:33 +0000 |
commit | bcb82c42ab86b595bfc6a39686e08915c8fd7297 (patch) | |
tree | a294259c2eaeebac8e6c0a061ab60178f5e44c43 /graphics/ruby-rmagick | |
parent | 7b9ab262361f618c1593b5b0913c416cae8eba87 (diff) | |
download | ports-bcb82c42ab86b595bfc6a39686e08915c8fd7297.tar.gz ports-bcb82c42ab86b595bfc6a39686e08915c8fd7297.zip |
Notes
Diffstat (limited to 'graphics/ruby-rmagick')
-rw-r--r-- | graphics/ruby-rmagick/files/patch-ext-RMagick-rmpixel.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ruby-rmagick/files/patch-ext-RMagick-rmpixel.c b/graphics/ruby-rmagick/files/patch-ext-RMagick-rmpixel.c new file mode 100644 index 000000000000..0b8cc5d82d51 --- /dev/null +++ b/graphics/ruby-rmagick/files/patch-ext-RMagick-rmpixel.c @@ -0,0 +1,11 @@ +--- ext/RMagick/rmpixel.c.orig 2010-03-29 09:50:48.192772200 +0200 ++++ ext/RMagick/rmpixel.c 2010-03-29 09:52:23.334284319 +0200 +@@ -531,7 +531,7 @@ + // Ugly way of checking for change in ImageMagick 6.5.6-5 to see whether + // saturation/lightness should be out of 255 or out of 100. + if(MagickLibVersion < 0x656 || +- (MagickLibVersion == 0x656 && strcmp(MagickLibSubversion,"-5") <= 0) ) ++ (MagickLibVersion == 0x656 && strcmp(MagickLibAddendum,"-5") <= 0) ) + { + s = s/2.55; + l = l/2.55; |