summaryrefslogtreecommitdiff
path: root/dev-games/godot/files/godot-4.0-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/godot/files/godot-4.0-musl.patch')
-rw-r--r--dev-games/godot/files/godot-4.0-musl.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-games/godot/files/godot-4.0-musl.patch b/dev-games/godot/files/godot-4.0-musl.patch
new file mode 100644
index 000000000000..50c5c334773f
--- /dev/null
+++ b/dev-games/godot/files/godot-4.0-musl.patch
@@ -0,0 +1,9 @@
+crash handler requires glibc or libexecinfo (not packaged),
+and is always enabled if build the editor (release_debug)
+--- a/platform/linuxbsd/crash_handler_linuxbsd.cpp
++++ b/platform/linuxbsd/crash_handler_linuxbsd.cpp
+@@ -38,3 +38,3 @@
+
+-#ifdef DEBUG_ENABLED
++#if defined(DEBUG_ENABLED) && defined(__GLIBC__)
+ #define CRASH_HANDLER_ENABLED 1