summaryrefslogtreecommitdiff
path: root/games-board/ace/files/ace-1.4-malloc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/ace/files/ace-1.4-malloc.patch')
-rw-r--r--games-board/ace/files/ace-1.4-malloc.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-board/ace/files/ace-1.4-malloc.patch b/games-board/ace/files/ace-1.4-malloc.patch
new file mode 100644
index 000000000000..da9b3b24f82c
--- /dev/null
+++ b/games-board/ace/files/ace-1.4-malloc.patch
@@ -0,0 +1,10 @@
+Avoid warning about implicit malloc()
+
+diff -r 587fa6195b61 lib/imagelib.c
+--- a/lib/imagelib.c Mon Oct 05 22:08:52 2020 +0000
++++ b/lib/imagelib.c Mon Oct 05 22:09:12 2020 +0000
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include "imagelib.h"