aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2026-05-14 15:39:36 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2026-05-14 15:39:36 +0000
commitbc719341172dfe312f17d52c201640702fdf64a5 (patch)
tree883332e8bafd4265cfe7aa3e735f4ac1ed951603
parent901ca63a3839d33d65e53a0417736e48af89e0d7 (diff)
emulators/pcsx2: Fix build on -CURRENT
-rw-r--r--emulators/pcsx2/files/patch-3rdparty-fmt-include-fmt-format.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/pcsx2/files/patch-3rdparty-fmt-include-fmt-format.h b/emulators/pcsx2/files/patch-3rdparty-fmt-include-fmt-format.h
new file mode 100644
index 000000000000..54b527625b5f
--- /dev/null
+++ b/emulators/pcsx2/files/patch-3rdparty-fmt-include-fmt-format.h
@@ -0,0 +1,10 @@
+--- 3rdparty/fmt/include/fmt/format.h.orig 2025-06-29 19:47:12 UTC
++++ 3rdparty/fmt/include/fmt/format.h
+@@ -44,6 +44,7 @@
+ # include <cmath> // std::signbit
+ # include <cstddef> // std::byte
+ # include <cstdint> // uint32_t
++# include <cstdlib> // malloc(), free()
+ # include <cstring> // std::memcpy
+ # include <limits> // std::numeric_limits
+ # include <new> // std::bad_alloc