Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/imagemagick6/ImageMagick-6.9.10-11-bug17.patch
blob: 57e222541ff79e90472a2a9a13ba02843917d3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: