summarylogtreecommitdiffstats
path: root/zero-length_array.diff
diff options
context:
space:
mode:
authorLukáš Jirkovský2018-04-01 22:11:49 +0200
committerLukáš Jirkovský2018-04-01 22:11:49 +0200
commit9b3afd2667d21a929d962db13be6684130bd4c1f (patch)
treef9e87ebca8ac1dd5155089a403bc36d59695f078 /zero-length_array.diff
parent5e6ea24f49123fefe547dd1551ab19fee3e93cd6 (diff)
downloadaur-gimp-plugin-mathmap.tar.gz
fix build
Diffstat (limited to 'zero-length_array.diff')
-rw-r--r--zero-length_array.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/zero-length_array.diff b/zero-length_array.diff
new file mode 100644
index 00000000000..d9f37186b8d
--- /dev/null
+++ b/zero-length_array.diff
@@ -0,0 +1,11 @@
+--- mathmap-1.3.5/drawable.h 2009-08-23 13:56:14.000000000 +0200
++++ mathmap-1.3.5.new/drawable.h 2018-04-01 21:59:30.774269173 +0200
+@@ -105,7 +105,7 @@ typedef struct _image_t
+ mathmap_pools_t *pools;
+ void *xy_vars;
+ int num_args;
+- userval_t args[];
++ userval_t args[0];
+ } closure;
+ struct {
+ float ax;