- Rebuild for new ImageMagick

This commit is contained in:
Hans de Goede 2009-03-13 10:56:14 +00:00
parent b58ddf2e23
commit a280fc20b2
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ diff -ru autotrace-0.31.1.orig/input-magick.c autotrace-0.31.1/input-magick.c
for(j=0,runcount=0,point=0;j<image->rows;j++)
for(i=0;i<image->columns;i++) {
+#if (MagickLibVersion < 0x0645)
+#if (MagickLibVersion < 0x0645) || (MagickLibVersion >= 0x0649)
p=GetOnePixel(image,i,j);
+#else
+ GetOnePixel(image,i,j,pixel);

View File

@ -1,6 +1,6 @@
Name: autotrace
Version: 0.31.1
Release: 20%{?dist}
Release: 21%{?dist}
Summary: Utility for converting bitmaps to vector graphics
@ -88,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Mar 13 2009 Hans de Goede <hdegoede@redhat.com> - 0.31.1-21
- Rebuild for new ImageMagick
* Mon Mar 02 2009 Caolán McNamara <caolanm@redhat.com> - 0.31.1-20
- Modify GetOnePixel usage to build against current ImageMagick api