summaryrefslogtreecommitdiff
path: root/academic/octave/patches/imagemagick.diff
diff options
context:
space:
mode:
Diffstat (limited to 'academic/octave/patches/imagemagick.diff')
-rw-r--r--academic/octave/patches/imagemagick.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/octave/patches/imagemagick.diff b/academic/octave/patches/imagemagick.diff
new file mode 100644
index 0000000000..7a15122a18
--- /dev/null
+++ b/academic/octave/patches/imagemagick.diff
@@ -0,0 +1,12 @@
+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: