aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-03-29 16:50:33 +0800
committermm <mm@FreeBSD.org>2010-03-29 16:50:33 +0800
commit08e4e7e4ba9dd9b4e9aef51cb94895dcf34ca15f (patch)
treed051115711636e8d47d312f32f65fc2f9e2ea042 /graphics
parentafe4ce1f9e43a6df742188a70f175ccfb067edda (diff)
downloadfreebsd-ports-gnome-08e4e7e4ba9dd9b4e9aef51cb94895dcf34ca15f.tar.gz
freebsd-ports-gnome-08e4e7e4ba9dd9b4e9aef51cb94895dcf34ca15f.tar.zst
freebsd-ports-gnome-08e4e7e4ba9dd9b4e9aef51cb94895dcf34ca15f.zip
- Unbreak and fix changed API
Approved by: maintainer (stass)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-rmagick/files/patch-ext-RMagick-rmpixel.c11
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;