diff options
Diffstat (limited to 'media-gfx/autotrace/files/autotrace-0.31.1-GetOnePixel.patch')
-rw-r--r-- | media-gfx/autotrace/files/autotrace-0.31.1-GetOnePixel.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-gfx/autotrace/files/autotrace-0.31.1-GetOnePixel.patch b/media-gfx/autotrace/files/autotrace-0.31.1-GetOnePixel.patch new file mode 100644 index 000000000000..048b7a76be70 --- /dev/null +++ b/media-gfx/autotrace/files/autotrace-0.31.1-GetOnePixel.patch @@ -0,0 +1,16 @@ +http://cvs.fedoraproject.org/viewvc/rpms/autotrace/devel/autotrace-0.31.1-GetOnePixel.patch?view=markup + +--- input-magick.c ++++ input-magick.c +@@ -83,7 +83,11 @@ + + for(j=0,runcount=0,point=0;j<image->rows;j++) + for(i=0;i<image->columns;i++) { ++#if (MagickLibVersion < 0x0645) || (MagickLibVersion >= 0x0649) + p=GetOnePixel(image,i,j); ++#else ++ GetOnePixel(image,i,j,pixel); ++#endif + AT_BITMAP_BITS(bitmap)[point++]=pixel->red; /* if gray: red=green=blue */ + if(np==3) { + AT_BITMAP_BITS(bitmap)[point++]=pixel->green; |