- workaround: fix reading xpm which uses symbolic color names which

are said to be not XPMCompliant
  * http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23462

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=153
This commit is contained in:
Petr Gajdos 2013-05-23 09:58:16 +00:00 committed by Git OBS Bridge
parent ed66920b67
commit b8b7f2e6e5
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: ImageMagick-6.8.5-7/coders/xpm.c
===================================================================
--- ImageMagick-6.8.5-7.orig/coders/xpm.c
+++ ImageMagick-6.8.5-7/coders/xpm.c
@@ -382,7 +382,7 @@ static Image *ReadXPMImage(const ImageIn
image->storage_class=DirectClass;
image->matte=MagickTrue;
}
- status=QueryColorCompliance(target,XPMCompliance,&image->colormap[j],
+ status=QueryColorCompliance(target,X11Compliance,&image->colormap[j],
exception);
if (status == MagickFalse)
break;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 23 09:55:52 UTC 2013 - pgajdos@suse.com
- workaround: fix reading xpm which uses symbolic color names which
are said to be not XPMCompliant
* http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23462
-------------------------------------------------------------------
Tue May 21 10:34:21 UTC 2013 - pgajdos@suse.com

View File

@ -66,6 +66,8 @@ Patch3: ImageMagick-6.8.4.0-rpath.patch
# bugs
# will ask upstream if needed, or if other solution exists
Patch11: ImageMagick-6.8.4.0-dont-build-in-install.patch
# workaround for http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23462
Patch12: ImageMagick-6.8.5.7-no-XPMCompliance.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n perl-PerlMagick
@ -128,6 +130,7 @@ BuildArch: noarch
%patch2 -p1
%patch3 -p1
%patch11 -p1
%patch12 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@ -393,4 +396,5 @@ HTML documentation for ImageMagick library and scene examples.
%changelog