[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#325075: Patch to fix build failure in rubymagick when using new libmagick



Package: rubymagick
Version: 0.1.3-13

Hey guys,

I'm working with the Ubuntu MOTU project, in doing a rebuild of
rubymagick I discovered a typo in the debian patch.

On line 1192 of magick.c it says 'True' but it neds to say 'MagickTrue'.

I've attached a patch, its only a 1 liner, I've tested it and compiles
fine here on Ubuntu.

Cheers,
Trent

-- 
Trent Lloyd <lathiat@bur.st>
Bur.st Networking Inc.
--- magick.c.orig	2005-08-26 06:28:29.000000000 +0800
+++ magick.c	2005-08-26 06:24:46.000000000 +0800
@@ -1189,7 +1189,7 @@
 # if MagickLibVersion < 0x0547
     status = ProfileImage(mgk->ptr, prof, fname, RSTRING(profname)->len);
 # else
-    status = ProfileImage(mgk->ptr, prof, fname, RSTRING(profname)->len, True);
+    status = ProfileImage(mgk->ptr, prof, fname, RSTRING(profname)->len, MagickTrue);
 # endif
 #endif /* MagickLibVersion < 0x0543 */
     if (!status)

Reply to: