diff options
Diffstat (limited to 'community/godot/patches')
-rw-r--r-- | community/godot/patches/gcc13.patch | 10 | ||||
-rw-r--r-- | community/godot/patches/no-execinfo.patch | 27 |
2 files changed, 37 insertions, 0 deletions
diff --git a/community/godot/patches/gcc13.patch b/community/godot/patches/gcc13.patch new file mode 100644 index 00000000..0db5a116 --- /dev/null +++ b/community/godot/patches/gcc13.patch @@ -0,0 +1,10 @@ +--- a/thirdparty/vhacd/inc/vhacdManifoldMesh.h ++++ b/thirdparty/vhacd/inc/vhacdManifoldMesh.h +@@ -15,6 +15,7 @@ + #pragma once + #ifndef VHACD_MANIFOLD_MESH_H + #define VHACD_MANIFOLD_MESH_H ++#include <cstdint> + #include "vhacdCircularList.h" + #include "vhacdSArray.h" + #include "vhacdVector.h" diff --git a/community/godot/patches/no-execinfo.patch b/community/godot/patches/no-execinfo.patch new file mode 100644 index 00000000..202bc9c0 --- /dev/null +++ b/community/godot/patches/no-execinfo.patch @@ -0,0 +1,27 @@ +diff --git a/platform/linuxbsd/crash_handler_linuxbsd.cpp b/platform/linuxbsd/crash_handler_linuxbsd.cpp +index 3a24546..ae7430f 100644 +--- a/platform/linuxbsd/crash_handler_linuxbsd.cpp ++++ b/platform/linuxbsd/crash_handler_linuxbsd.cpp +@@ -37,7 +37,6 @@ + #include "main/main.h" + + #ifdef DEBUG_ENABLED +-#define CRASH_HANDLER_ENABLED 1 + #endif + + #ifdef CRASH_HANDLER_ENABLED +diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py +index 3f713d2..e27e1eb 100644 +--- a/platform/linuxbsd/detect.py ++++ b/platform/linuxbsd/detect.py +@@ -429,8 +429,8 @@ def configure(env: "Environment"): + 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 ++ # print("Note: Using `execinfo=yes` for the crash handler as required on platforms where glibc is missing.") ++ env["execinfo"] = False + + if env["execinfo"]: + env.Append(LIBS=["execinfo"]) |