summarylogtreecommitdiffstats
path: root/coot-dynarama.patch
diff options
context:
space:
mode:
authorAthemis2018-07-10 13:47:22 +0200
committerAthemis2018-07-10 13:49:09 +0200
commitbba2f82d538bfff5752e2d4d7893e5b88ca845d1 (patch)
tree2d828e1ff315be4eef3dedb738a55333cbf9b588 /coot-dynarama.patch
parentc06560982ebf0b2a2af7ad9d97c686c47507a414 (diff)
downloadaur-coot.tar.gz
fix building with recent glibc and gtk2
Diffstat (limited to 'coot-dynarama.patch')
-rw-r--r--coot-dynarama.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/coot-dynarama.patch b/coot-dynarama.patch
new file mode 100644
index 00000000000..7af8d00acb3
--- /dev/null
+++ b/coot-dynarama.patch
@@ -0,0 +1,20 @@
+--- src/dynarama-main.cc.orig 2018-07-10 13:29:01.850708482 +0200
++++ src/dynarama-main.cc 2018-04-01 02:17:29.000000000 +0200
+@@ -23,8 +23,6 @@
+
+ #ifdef HAVE_GOOCANVAS
+
+-#include <gtk/gtk.h>
+-
+ #ifdef __GNU_LIBRARY__
+ #include "compat/coot-getopt.h"
+ #else
+@@ -35,6 +33,8 @@
+
+ #include <sys/stat.h>
+
++#include <gtk/gtk.h>
++
+ #ifdef HAVE_GOOCANVAS
+ #include <goocanvas.h>
+ #endif