summaryrefslogtreecommitdiffstats
path: root/academic/octave/patches/imagemagick.diff
blob: 7a15122a1888cc9ac990f323c6b3e8718e357eb0 (plain)
diff --git a/libinterp/corefcn/__magick_read__.cc b/libinterp/corefcn/__magick_read__.cc
--- a/libinterp/corefcn/__magick_read__.cc
+++ b/libinterp/corefcn/__magick_read__.cc
@@ -42,6 +42,8 @@
 #include <Magick++.h>
 #include <clocale>
 
+using Magick::Quantum;  // https://savannah.gnu.org/bugs/?49653
+
 // In theory, it should be enough to check the class:
 // Magick::ClassType
 // PseudoClass: