aboutsummaryrefslogtreecommitdiff
path: root/build/android/patches/irrlicht-native_activity.patch
diff options
context:
space:
mode:
authorstujones11 <stujones111@gmail.com>2017-11-15 19:52:19 +0000
committerparamat <mat.gregory@virginmedia.com>2017-12-04 02:20:32 +0000
commit2507d32afe05c73bb27ed221c2a592b0894fdc68 (patch)
tree2b5930ce0a241c3abd06a389b5f9e0173cd325c7 /build/android/patches/irrlicht-native_activity.patch
parent2174298ffab0b6224cda35a47f326c7c4e53bf11 (diff)
downloadminetest-2507d32afe05c73bb27ed221c2a592b0894fdc68.tar.gz
minetest-2507d32afe05c73bb27ed221c2a592b0894fdc68.tar.bz2
minetest-2507d32afe05c73bb27ed221c2a592b0894fdc68.zip
Android: Update build system for ndk-r15x
Add workarounds for ndk-r16.
Diffstat (limited to 'build/android/patches/irrlicht-native_activity.patch')
-rw-r--r--build/android/patches/irrlicht-native_activity.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/android/patches/irrlicht-native_activity.patch b/build/android/patches/irrlicht-native_activity.patch
new file mode 100644
index 000000000..5e9699e4f
--- /dev/null
+++ b/build/android/patches/irrlicht-native_activity.patch
@@ -0,0 +1,12 @@
+--- irrlicht/source/Irrlicht/CEGLManager.cpp.orig 2017-11-15 18:19:58.467279274 +0000
++++ irrlicht/source/Irrlicht/CEGLManager.cpp 2017-11-15 18:19:54.175279087 +0000
+@@ -8,6 +8,9 @@
+
+ #include "irrString.h"
+ #include "os.h"
++#if defined(_IRR_COMPILE_WITH_ANDROID_DEVICE_)
++#include <android/native_activity.h>
++#endif
+
+ namespace irr
+ {