diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-01 15:40:04 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-01 15:40:04 +0200 |
commit | 6172c0386e70e42268e3e60eb07d5478a5d8fdee (patch) | |
tree | 984837ca310dbf01246e179b9276240e06074d21 /extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch | |
parent | 1b2b400af7cef3cee29e7fd77f22cef52e475970 (diff) | |
download | packages-6172c0386e70e42268e3e60eb07d5478a5d8fdee.tar.xz |
extra/imagemagick6: fixed compilation
Diffstat (limited to 'extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch')
-rw-r--r-- | extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch b/extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch new file mode 100644 index 00000000..57e22254 --- /dev/null +++ b/extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch @@ -0,0 +1,17 @@ +diff -rauN ImageMagick-6.9.10-11/Magick++/lib/Magick++/Color.h ImageMagick-6.9.10-11-bug17-patch/Magick++/lib/Magick++/Color.h +--- ImageMagick-6.9.10-11/Magick++/lib/Magick++/Color.h 2018-08-28 14:31:12.000000000 +0200 ++++ ImageMagick-6.9.10-11-bug17-patch/Magick++/lib/Magick++/Color.h 2018-09-01 15:14:05.133038562 +0200 +@@ -122,11 +122,12 @@ + { + return (static_cast<double>(quantum_)/QuantumRange); + } +-#endif ++#else + static double scaleQuantumToDouble(const double quantum_) + { + return (quantum_/QuantumRange); + } ++#endif + + protected: + |