- 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:
parent
ed66920b67
commit
b8b7f2e6e5
13
ImageMagick-6.8.5.7-no-XPMCompliance.patch
Normal file
13
ImageMagick-6.8.5.7-no-XPMCompliance.patch
Normal 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;
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user