diff options
Diffstat (limited to 'gdl-graphicsmagick.patch')
-rw-r--r-- | gdl-graphicsmagick.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdl-graphicsmagick.patch b/gdl-graphicsmagick.patch new file mode 100644 index 000000000000..1c305e63974e --- /dev/null +++ b/gdl-graphicsmagick.patch @@ -0,0 +1,14 @@ +diff -ru gdl-0.9.9_old/src/magick_cl.cpp gdl-0.9.9/src/magick_cl.cpp +--- gdl-0.9.9_old/src/magick_cl.cpp 2018-12-01 15:19:52.000000000 +0100 ++++ gdl-0.9.9/src/magick_cl.cpp 2021-02-15 07:54:39.271235632 +0100 +@@ -65,6 +65,10 @@ + unsigned int gValid[40]; + unsigned int gCount = 0; + static bool notInitialized = true; ++ ++ __attribute__((constructor)) static void init(void) { ++ START_MAGICK; ++ } + + void magick_setup() { + int i; |