summarylogtreecommitdiffstats
path: root/gdl-graphicsmagick.patch
diff options
context:
space:
mode:
authorJan Kohnert2021-01-24 12:25:21 +0100
committerJan Kohnert2021-02-15 10:34:56 +0100
commit728c6fc3578473386a9d431a71807347429346bc (patch)
tree6d7ef2ebbddec54e9f5a8e49b1f4e53cc88250ca /gdl-graphicsmagick.patch
parentbc3f98e0c8a9f59765fdba55720681584146402f (diff)
downloadaur-728c6fc3578473386a9d431a71807347429346bc.tar.gz
Added CI/CD, fixed dependencies, moved ImageMagick->GraphicMagick,
included upstream GraphicsMagick patch, explicitly enabled/disabled features in cmake call.
Diffstat (limited to 'gdl-graphicsmagick.patch')
-rw-r--r--gdl-graphicsmagick.patch14
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;