* audaspace: Update to 1.8.0 * blender: Update to 5.0.0 * Add missing header for math functions
136 lines
5.2 KiB
Diff
136 lines
5.2 KiB
Diff
diff -Naur blender-4.5.2/extern/ceres/internal/ceres/file.cc blender-4.5.2-patched/extern/ceres/internal/ceres/file.cc
|
|
--- blender-4.5.2/extern/ceres/internal/ceres/file.cc 2025-08-26 12:23:13.204800600 +0300
|
|
+++ blender-4.5.2-patched/extern/ceres/internal/ceres/file.cc 2025-08-26 12:23:40.166618900 +0300
|
|
@@ -34,6 +34,7 @@
|
|
|
|
#include <cstdio>
|
|
#include <string>
|
|
+#include <cstdint>
|
|
|
|
#include "glog/logging.h"
|
|
|
|
diff -Naur blender-4.5.2/extern/glog/src/symbolize.h blender-4.5.2-patched/extern/glog/src/symbolize.h
|
|
--- blender-4.5.2/extern/glog/src/symbolize.h 2025-08-26 12:23:10.834415100 +0300
|
|
+++ blender-4.5.2-patched/extern/glog/src/symbolize.h 2025-08-26 12:23:40.131624500 +0300
|
|
@@ -60,6 +60,8 @@
|
|
|
|
#ifdef HAVE_SYMBOLIZE
|
|
|
|
+#include <cstdint>
|
|
+
|
|
#if defined(__ELF__) // defined by gcc
|
|
#if defined(__OpenBSD__)
|
|
#include <sys/exec_elf.h>
|
|
diff -Naur blender-5.0.0/intern/ghost/intern/GHOST_SystemWin32.cc blender-5.0.0-patched/intern/ghost/intern/GHOST_SystemWin32.cc
|
|
--- blender-5.0.0/intern/ghost/intern/GHOST_SystemWin32.cc 2025-08-26 12:23:03.002466700 +0300
|
|
+++ blender-5.0.0-patched/intern/ghost/intern/GHOST_SystemWin32.cc 2025-08-26 12:23:40.123623400 +0300
|
|
@@ -25,6 +25,7 @@
|
|
#include <shlobj.h>
|
|
#include <tlhelp32.h>
|
|
#include <windowsx.h>
|
|
+#include <cmath>
|
|
|
|
#include "utf_winfunc.hh"
|
|
#include "utfconv.hh"
|
|
diff -Naur blender-4.5.2/intern/ghost/intern/GHOST_Wintab.cc blender-4.5.2-patched/intern/ghost/intern/GHOST_Wintab.cc
|
|
--- blender-4.5.2/intern/ghost/intern/GHOST_Wintab.cc 2025-08-26 12:23:03.002466700 +0300
|
|
+++ blender-4.5.2-patched/intern/ghost/intern/GHOST_Wintab.cc 2025-08-26 12:23:40.123623400 +0300
|
|
@@ -7,6 +7,7 @@
|
|
*/
|
|
|
|
#define _USE_MATH_DEFINES
|
|
+#include <cmath>
|
|
|
|
#include "GHOST_Wintab.hh"
|
|
|
|
diff -Naur blender-4.5.2/intern/ghost/intern/GHOST_XrGraphicsBindingD3D.hh blender-4.5.2-patched/intern/ghost/intern/GHOST_XrGraphicsBindingD3D.hh
|
|
--- blender-4.5.2/intern/ghost/intern/GHOST_XrGraphicsBindingD3D.hh 2025-08-26 12:23:02.988501800 +0300
|
|
+++ blender-4.5.2-patched/intern/ghost/intern/GHOST_XrGraphicsBindingD3D.hh 2025-08-26 12:23:40.163619800 +0300
|
|
@@ -17,6 +17,7 @@
|
|
# include "GHOST_ContextVK.hh"
|
|
#endif
|
|
#include "GHOST_IXrGraphicsBinding.hh"
|
|
+#include <list>
|
|
|
|
/**
|
|
* Base class for bridging to an OpenXR platform that only supports Direct3D.
|
|
diff -Naur blender-4.5.2/source/blender/blenkernel/intern/ocean_spectrum.cc blender-4.5.2-patched/source/blender/blenkernel/intern/ocean_spectrum.cc
|
|
--- blender-4.5.2/source/blender/blenkernel/intern/ocean_spectrum.cc 2025-08-26 12:23:07.657633600 +0300
|
|
+++ blender-4.5.2-patched/source/blender/blenkernel/intern/ocean_spectrum.cc 2025-08-26 12:23:40.151622200 +0300
|
|
@@ -12,6 +12,7 @@
|
|
#include "ocean_intern.h"
|
|
|
|
#include <algorithm>
|
|
+#define _USE_MATH_DEFINES
|
|
#include <cmath>
|
|
|
|
#ifdef WITH_OCEANSIM
|
|
diff -Naur blender-4.5.2/source/blender/blenlib/BLI_index_range.hh blender-4.5.2-patched/source/blender/blenlib/BLI_index_range.hh
|
|
--- blender-4.5.2/source/blender/blenlib/BLI_index_range.hh 2025-08-26 12:23:04.154194100 +0300
|
|
+++ blender-4.5.2-patched/source/blender/blenlib/BLI_index_range.hh 2025-08-26 12:23:40.157620100 +0300
|
|
@@ -39,6 +39,7 @@
|
|
|
|
#include <algorithm>
|
|
#include <iosfwd>
|
|
+#include <cstdint>
|
|
|
|
#include "BLI_assert.h"
|
|
#include "BLI_random_access_iterator_mixin.hh"
|
|
diff -Naur blender-4.5.2/source/blender/blenlib/intern/winstuff_registration.cc blender-4.5.2-patched/source/blender/blenlib/intern/winstuff_registration.cc
|
|
--- blender-4.5.2/source/blender/blenlib/intern/winstuff_registration.cc 2025-08-26 12:23:04.209304500 +0300
|
|
+++ blender-4.5.2-patched/source/blender/blenlib/intern/winstuff_registration.cc 2025-08-26 12:23:40.144657600 +0300
|
|
@@ -13,7 +13,11 @@
|
|
# include <filesystem>
|
|
# include <propkey.h>
|
|
# include <propvarutil.h>
|
|
+#ifdef __MINGW32__
|
|
+# include <shlobj.h>
|
|
+#else
|
|
# include <shlobj_core.h>
|
|
+#endif
|
|
# include <wrl.h>
|
|
|
|
# include "BLI_path_utils.hh"
|
|
diff -Naur blender-4.5.2/source/creator/creator.cc blender-4.5.2-patched/source/creator/creator.cc
|
|
--- blender-4.5.2/source/creator/creator.cc 2025-08-26 12:23:08.105577200 +0300
|
|
+++ blender-4.5.2-patched/source/creator/creator.cc 2025-08-26 12:23:40.138654200 +0300
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#include <cstdlib>
|
|
#include <cstring>
|
|
+#include <time.h>
|
|
|
|
#ifdef WIN32
|
|
# include "utfconv.hh"
|
|
--- blender-5.0.0/intern/libmv/libmv/numeric/numeric.h.orig 2025-12-03 13:01:24.012351000 +0300
|
|
+++ blender-5.0.0/intern/libmv/libmv/numeric/numeric.h 2025-12-03 13:02:51.951592300 +0300
|
|
@@ -32,6 +32,7 @@
|
|
#include <Eigen/LU>
|
|
#include <Eigen/QR>
|
|
#include <Eigen/SVD>
|
|
+#include <cassert>
|
|
|
|
#if !defined(__MINGW32__)
|
|
# if defined(_WIN32) || defined(__APPLE__) || defined(__NetBSD__) || \
|
|
--- blender-5.0.0/intern/slim/intern/edge_lengths.cpp.orig 2025-12-03 13:09:02.739877800 +0300
|
|
+++ blender-5.0.0/intern/slim/intern/edge_lengths.cpp 2025-12-03 13:09:33.995737800 +0300
|
|
@@ -11,6 +11,8 @@
|
|
|
|
#include "edge_lengths.h"
|
|
|
|
+#include <cassert>
|
|
+
|
|
namespace slim {
|
|
|
|
template<typename DerivedV, typename DerivedF, typename DerivedL>
|
|
--- blender-5.0.0/intern/slim/intern/uv_initializer.cpp.orig 2025-12-03 13:11:38.726339400 +0300
|
|
+++ blender-5.0.0/intern/slim/intern/uv_initializer.cpp 2025-12-03 13:11:41.520989500 +0300
|
|
@@ -9,6 +9,7 @@
|
|
#include "uv_initializer.h"
|
|
|
|
#include <Eigen/SparseLU>
|
|
+#include <cassert>
|
|
|
|
namespace slim {
|
|
|