summaryrefslogtreecommitdiff
path: root/libre/openttd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-09 02:28:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-09 02:31:29 -0300
commitf4984afeb3aa765949e3ff5a24b59a19dfa665c1 (patch)
tree05a68ada7dd309b0a4a8c6aa367a59647468f747 /libre/openttd
parentb7d62182a3542b8e8369193ed5d5afee569e3929 (diff)
downloadabslibre-f4984afeb3aa765949e3ff5a24b59a19dfa665c1.tar.gz
abslibre-f4984afeb3aa765949e3ff5a24b59a19dfa665c1.tar.bz2
abslibre-f4984afeb3aa765949e3ff5a24b59a19dfa665c1.zip
openttd: add missing patch
Diffstat (limited to 'libre/openttd')
-rw-r--r--libre/openttd/openttd-1.5.3-gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/openttd/openttd-1.5.3-gcc6.patch b/libre/openttd/openttd-1.5.3-gcc6.patch
new file mode 100644
index 000000000..65d9991d6
--- /dev/null
+++ b/libre/openttd/openttd-1.5.3-gcc6.patch
@@ -0,0 +1,11 @@
+--- openttd-1.5.3/src/safeguards.h.orig 2016-02-02 16:21:10.378533175 +0000
++++ openttd-1.5.3/src/safeguards.h 2016-02-02 16:21:15.269555568 +0000
+@@ -21,6 +21,8 @@
+ #ifndef SAFEGUARDS_H
+ #define SAFEGUARDS_H
+
++#include <stdlib.h>
++
+ /* Use MallocT instead. */
+ #define malloc SAFEGUARD_DO_NOT_USE_THIS_METHOD
+