From 5d8f4184624e07ead305a22ae93b7722b409deae Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:53:52 +0100 Subject: [PATCH] add missing headers --- recipes/joltphysics/all/conandata.yml | 3 +++ .../all/patches/0002-missing-headers.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 recipes/joltphysics/all/patches/0002-missing-headers.patch diff --git a/recipes/joltphysics/all/conandata.yml b/recipes/joltphysics/all/conandata.yml index 7c5580239b..01bf7c69ea 100644 --- a/recipes/joltphysics/all/conandata.yml +++ b/recipes/joltphysics/all/conandata.yml @@ -7,3 +7,6 @@ patches: - patch_file: "patches/0001-fix-cmake.patch" patch_description: "Fix CMakeLists: no warnings as errors, allow shared, add install target, and add profile & debug_renderer options" patch_type: "conan" + - patch_file: "patches/0002-missing-headers.patch" + patch_description: "Add missing includes of standard C++ lib headers" + patch_type: "portability" diff --git a/recipes/joltphysics/all/patches/0002-missing-headers.patch b/recipes/joltphysics/all/patches/0002-missing-headers.patch new file mode 100644 index 0000000000..5dddc3506a --- /dev/null +++ b/recipes/joltphysics/all/patches/0002-missing-headers.patch @@ -0,0 +1,13 @@ +--- a/Jolt/Core/Core.h ++++ b/Jolt/Core/Core.h +@@ -252,6 +252,10 @@ JPH_SUPPRESS_WARNINGS_STD_BEGIN + #include + #include + #include ++#include ++#include ++#include ++#include + JPH_SUPPRESS_WARNINGS_STD_END + #include + #include