- Drop fix-XPM patch. - No so-name change, so will update in stable branch to fix also: bz#1267391 (JPEG 2000 support), bz#1269556 (security buff overflow in coders/icon.c), bz#1269567 (Double free vulnerabilities in coders/{pict.c,tga.c}) - Solving miltilib conflict - bz#1208347 - add patch ImageMagick-6.9.2-7-multiarch-implicit-pkgconfig-dir.patch. - Drop old options: --with-lcms2, --without-included-ltdl, --with-ltdl-include, --with-ltdl-lib - Some spec cleanup (including README utf recoding, rpath clean hacks).epel8
parent
c6e35d1ec2
commit
de0432bcf3
@ -0,0 +1,28 @@
|
||||
diff -NurEbBH ImageMagick-6.9.2-7.orig/wand/MagickWand-config.in ImageMagick-6.9.2-7/wand/MagickWand-config.in
|
||||
--- ImageMagick-6.9.2-7.orig/wand/MagickWand-config.in 2015-11-26 17:14:07.000000000 +0300
|
||||
+++ ImageMagick-6.9.2-7/wand/MagickWand-config.in 2015-12-05 21:53:37.350660894 +0300
|
||||
@@ -38,19 +38,19 @@
|
||||
echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
|
||||
;;
|
||||
--cflags)
|
||||
- PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
|
||||
+ pkg-config --cflags MagickWand
|
||||
;;
|
||||
--cxxflags)
|
||||
- PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
|
||||
+ pkg-config --cflags MagickWand
|
||||
;;
|
||||
--cppflags)
|
||||
- PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
|
||||
+ pkg-config --cflags MagickWand
|
||||
;;
|
||||
--ldflags)
|
||||
- PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
|
||||
+ pkg-config --libs MagickWand
|
||||
;;
|
||||
--libs)
|
||||
- PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
|
||||
+ pkg-config --libs MagickWand
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
@ -1,20 +0,0 @@
|
||||
--- magick/colormap.c.orig 2014-12-25 21:05:34.000000000 +0300
|
||||
+++ magick/colormap.c 2015-11-21 16:06:49.632335362 +0300
|
||||
@@ -112,7 +112,7 @@
|
||||
assert(image->signature == MagickSignature);
|
||||
if (image->debug != MagickFalse)
|
||||
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
|
||||
- image->colors=MagickMax(colors,2);
|
||||
+ image->colors=MagickMax(colors,1);
|
||||
if (image->colormap == (PixelPacket *) NULL)
|
||||
image->colormap=(PixelPacket *) AcquireQuantumMemory(image->colors,
|
||||
sizeof(*image->colormap));
|
||||
@@ -131,7 +131,7 @@
|
||||
size_t
|
||||
pixel;
|
||||
|
||||
- pixel=(size_t) (i*(QuantumRange/(image->colors-1)));
|
||||
+ pixel=(size_t) (i*(QuantumRange/MagickMax(colors-1,1)));
|
||||
image->colormap[i].red=(Quantum) pixel;
|
||||
image->colormap[i].green=(Quantum) pixel;
|
||||
image->colormap[i].blue=(Quantum) pixel;
|
Loading…
Reference in new issue