- upstream fixes the test by changing the signature

- ImageMagick-820e636.patch
  + ImageMagick-write.t-PICT-signature.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=339
This commit is contained in:
Petr Gajdos 2018-02-23 08:18:25 +00:00 committed by Git OBS Bridge
parent 184928cf36
commit 165a4644ba
4 changed files with 20 additions and 13 deletions

View File

@ -1,11 +0,0 @@
--- a/coders/pict.c
+++ b/coders/pict.c
@@ -928,6 +928,7 @@ static Image *ReadPICTImage(const ImageInfo *image_info,
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
return(DestroyImageList(image));
+ image->alpha_trait=BlendPixelTrait;
(void) SetImageBackgroundColor(image,exception);
/*
Interpret PICT opcodes.

View File

@ -0,0 +1,11 @@
--- a/PerlMagick/t/write.t
+++ b/PerlMagick/t/write.t
@@ -129,7 +129,7 @@ print("Apple Macintosh QuickDraw/PICT file ...\n");
testReadWrite( 'PICT:input.pict',
'PICT:output.pict',
q//,
- 'f7b3db46d6f696ea8392f0ad0be945dd502a806e2c1e9c082efef517191758f7');
+ '646ac633d5b5553721e032d2c9f8f54ffc19d315832bbf808c2b7321b1067293');
print("Portable pixmap format (color), ASCII format ...\n");
++$test;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 23 08:05:31 UTC 2018 - pgajdos@suse.com
- upstream fixes the test by changing the signature
- ImageMagick-820e636.patch
+ ImageMagick-write.t-PICT-signature.patch
-------------------------------------------------------------------
Wed Feb 21 13:24:09 UTC 2018 - pgajdos@suse.com

View File

@ -51,7 +51,7 @@ Patch3: ImageMagick-s390-disable-tests.patch
# https://github.com/ImageMagick/ImageMagick/issues/992
Patch4: ImageMagick-montage.t-directory-exception.patch
# https://github.com/ImageMagick/ImageMagick/issues/994
Patch5: ImageMagick-820e636.patch
Patch5: ImageMagick-write.t-PICT-signature.patch
BuildRequires: chrpath
BuildRequires: dcraw
%if 0%{?suse_version} >= 1315
@ -302,7 +302,7 @@ HTML documentation for ImageMagick library and scene examples.
%patch3 -p1
%endif
%patch4 -p1
%patch5 -p1 -R
%patch5 -p1
%build
# make library binary package parallel installable