aboutsummaryrefslogtreecommitdiff
path: root/science/gerris/files/patch-src_dx.c
diff options
context:
space:
mode:
Diffstat (limited to 'science/gerris/files/patch-src_dx.c')
-rw-r--r--science/gerris/files/patch-src_dx.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/science/gerris/files/patch-src_dx.c b/science/gerris/files/patch-src_dx.c
new file mode 100644
index 000000000000..ff8045bc9efb
--- /dev/null
+++ b/science/gerris/files/patch-src_dx.c
@@ -0,0 +1,18 @@
+--- src/dx.c.orig 2010-04-11 19:29:06.000000000 +0200
++++ src/dx.c 2010-04-11 19:32:05.000000000 +0200
+@@ -19,12 +19,14 @@
+
+ #include <string.h>
+ #include <math.h>
+-#include <dx/dx.h>
+
+ #include "simulation.h"
+ #include "init.h"
+ #include "solid.h"
+
++/* workaround glib 2.24. gvariant.h error */
++#include <dx/dx.h>
++
+ static void ftt_cell_neighbors_not_periodic (FttCell * cell,
+ FttCellNeighbors * neighbor)
+ {