From 0bdbe7e673d5a0dd6d8fc7c48ad7920dc227bca9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Oct 2016 08:46:21 +0200 Subject: ImageMagick7: 7.0.3-4 --- 14d2cea959977a84f0eb65d7b270cf7007375df1.patch | 36 -------------------------- ImageMagick7.spec | 9 +++---- 2 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 14d2cea959977a84f0eb65d7b270cf7007375df1.patch diff --git a/14d2cea959977a84f0eb65d7b270cf7007375df1.patch b/14d2cea959977a84f0eb65d7b270cf7007375df1.patch deleted file mode 100644 index 2356d76..0000000 --- a/14d2cea959977a84f0eb65d7b270cf7007375df1.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 14d2cea959977a84f0eb65d7b270cf7007375df1 Mon Sep 17 00:00:00 2001 -From: Cristy -Date: Sun, 9 Oct 2016 14:29:08 -0400 -Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/284 - ---- - coders/sun.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/coders/sun.c b/coders/sun.c -index 6bbe3ac..f224b8b 100644 ---- a/coders/sun.c -+++ b/coders/sun.c -@@ -266,7 +266,8 @@ static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) - bytes_per_line, - extent, - height, -- pixels_length; -+ pixels_length, -+ quantum; - - ssize_t - count, -@@ -442,9 +443,10 @@ static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) - sun_data=(unsigned char *) RelinquishMagickMemory(sun_data); - ThrowReaderException(ResourceLimitError,"ImproperImageHeader"); - } -- bytes_per_line+=7; -+ quantum=sun_info.depth == 1 ? 15 : 7; -+ bytes_per_line+=quantum; - bytes_per_line<<=1; -- if ((bytes_per_line >> 1) != (sun_info.width*sun_info.depth+7)) -+ if ((bytes_per_line >> 1) != (sun_info.width*sun_info.depth+quantum)) - { - sun_data=(unsigned char *) RelinquishMagickMemory(sun_data); - ThrowReaderException(ResourceLimitError,"ImproperImageHeader"); diff --git a/ImageMagick7.spec b/ImageMagick7.spec index 5236f73..3dfa2c4 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -9,7 +9,7 @@ # Please preserve changelog entries # %global VER 7.0.3 -%global Patchlevel 3 +%global Patchlevel 4 %global incsuffixe -7 %global libsuffixe -7.Q16HDRI %global with_tests 0%{!?_without_tests:1} @@ -69,8 +69,6 @@ License: ImageMagick Url: http://www.imagemagick.org/ Source0: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%{VER}-%{Patchlevel}.tar.xz -Patch0: https://github.com/ImageMagick/ImageMagick/commit/14d2cea959977a84f0eb65d7b270cf7007375df1.patch - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel BuildRequires: libtiff-devel, giflib-devel, zlib-devel @@ -283,8 +281,6 @@ however. %prep %setup -q -n %{libname}-%{VER}-%{Patchlevel} -%patch0 -p1 - # for %%doc mkdir Magick++/examples cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples @@ -498,6 +494,9 @@ rm -rf %{buildroot} %changelog +* Tue Oct 11 2016 Remi Collet - 7.0.3.4-1 +- update to version 7.0.3 patchlevel 4 + * Sun Oct 9 2016 Remi Collet - 7.0.3.3-1 - update to version 7.0.3 patchlevel 3 - open https://github.com/ImageMagick/ImageMagick/issues/284 -- cgit