summaryrefslogtreecommitdiffstats
path: root/source/l/imagemagick/ImageMagick.fix.overloading.error.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/imagemagick/ImageMagick.fix.overloading.error.diff')
-rw-r--r--source/l/imagemagick/ImageMagick.fix.overloading.error.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/l/imagemagick/ImageMagick.fix.overloading.error.diff b/source/l/imagemagick/ImageMagick.fix.overloading.error.diff
new file mode 100644
index 000000000..0306390fd
--- /dev/null
+++ b/source/l/imagemagick/ImageMagick.fix.overloading.error.diff
@@ -0,0 +1,16 @@
+--- ./Magick++/lib/Magick++/Color.h.orig 2018-08-28 07:31:12.000000000 -0500
++++ ./Magick++/lib/Magick++/Color.h 2018-09-20 21:57:14.555014712 -0500
+@@ -122,11 +122,12 @@
+ {
+ return (static_cast<double>(quantum_)/QuantumRange);
+ }
+-#endif
++#else
+ static double scaleQuantumToDouble(const double quantum_)
+ {
+ return (quantum_/QuantumRange);
+ }
++#endif
+
+ protected:
+