diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 08:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 08:06:58 +0000 |
commit | 29394d0921808a94a409f01eff49f681651de5d5 (patch) | |
tree | 93d18027cb4ea68a3c967602c5793af032180bab /dev-games/godot/files | |
parent | 5987fa693ef880163ebde423615a177cb5bda20e (diff) |
gentoo auto-resync : 17:02:2023 - 08:06:58
Diffstat (limited to 'dev-games/godot/files')
-rw-r--r-- | dev-games/godot/files/godot-4.0-musl.patch | 9 | ||||
-rw-r--r-- | dev-games/godot/files/godot-4.0_rc2-musl.patch | 21 |
2 files changed, 21 insertions, 9 deletions
diff --git a/dev-games/godot/files/godot-4.0-musl.patch b/dev-games/godot/files/godot-4.0-musl.patch deleted file mode 100644 index 50c5c334773f..000000000000 --- a/dev-games/godot/files/godot-4.0-musl.patch +++ /dev/null @@ -1,9 +0,0 @@ -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 diff --git a/dev-games/godot/files/godot-4.0_rc2-musl.patch b/dev-games/godot/files/godot-4.0_rc2-musl.patch new file mode 100644 index 000000000000..3b9a458ac7d4 --- /dev/null +++ b/dev-games/godot/files/godot-4.0_rc2-musl.patch @@ -0,0 +1,21 @@ +Crash handler requires glibc or libexecinfo (not packaged) and is enabled +if build the editor (implies debug), but can be easily turned off. +https://bugs.gentoo.org/894762 +--- 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 +--- a/platform/linuxbsd/detect.py ++++ b/platform/linuxbsd/detect.py +@@ -329,8 +329,2 @@ + +- if not env["execinfo"] and platform.libc_ver()[0] != "glibc": +- # The default crash handler depends on glibc, so if the host uses +- # a different libc (BSD libc, musl), fall back to libexecinfo. +- print("Note: Using `execinfo=yes` for the crash handler as required on platforms where glibc is missing.") +- env["execinfo"] = True +- + if env["execinfo"]: |