diff options
author | Victor Diego Alegandro Diaz Urbaneja <sodomon2@gmail.com> | 2020-02-01 00:47:02 -0400 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-02-10 22:02:24 +0100 |
commit | 07670bfbc9fa63b162e70f29135a60dd06aaeafc (patch) | |
tree | bcd631d07cf2e9b1f890787ffbea24e4b4e84c41 /testing/godot/crash_handler_x11.patch | |
parent | f254bd79f2374d1bf47159e5f88659947c5aaa40 (diff) | |
download | aports-07670bfbc9fa63b162e70f29135a60dd06aaeafc.tar.bz2 aports-07670bfbc9fa63b162e70f29135a60dd06aaeafc.tar.xz |
testing/godot: new aport
An advanced, feature packed, multi-platform 2D and 3D game engine
http://www.godotengine.org
Diffstat (limited to 'testing/godot/crash_handler_x11.patch')
-rw-r--r-- | testing/godot/crash_handler_x11.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/godot/crash_handler_x11.patch b/testing/godot/crash_handler_x11.patch new file mode 100644 index 0000000000..951c8c028a --- /dev/null +++ b/testing/godot/crash_handler_x11.patch @@ -0,0 +1,27 @@ +--- a/platform/x11/crash_handler_x11.cpp ++++ b/platform/x11/crash_handler_x11.cpp +@@ -49,7 +49,7 @@ + if (OS::get_singleton() == NULL) { + abort(); + } +- ++#if defined(__linux__) && defined(__GLIBC__) + void *bt_buffer[256]; + size_t size = backtrace(bt_buffer, 256); + String _execpath = OS::get_singleton()->get_executable_path(); +@@ -89,7 +89,6 @@ + free(demangled); + } + } +- + List<String> args; + + char str[1024]; +@@ -115,6 +114,7 @@ + free(strings); + } + fprintf(stderr, "-- END OF BACKTRACE --\n"); ++#endif + + // Abort to pass the error to the OS + abort(); |