aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch')
-rw-r--r--vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch b/vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch
new file mode 100644
index 0000000..c33eff5
--- /dev/null
+++ b/vcpkg/ports/wpilib/fix-build-error-with-fmt11.patch
@@ -0,0 +1,36 @@
+diff --git a/ntcore/src/dev/native/cpp/main.cpp b/ntcore/src/dev/native/cpp/main.cpp
+index 6e43fdb..ad93644 100644
+--- a/ntcore/src/dev/native/cpp/main.cpp
++++ b/ntcore/src/dev/native/cpp/main.cpp
+@@ -13,6 +13,7 @@
+ #include <thread>
+
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <wpi/Synchronization.h>
+ #include <wpi/timestamp.h>
+
+diff --git a/wpiutil/examples/printlog/printlog.cpp b/wpiutil/examples/printlog/printlog.cpp
+index cb89934..4fe4817 100644
+--- a/wpiutil/examples/printlog/printlog.cpp
++++ b/wpiutil/examples/printlog/printlog.cpp
+@@ -6,6 +6,7 @@
+
+ #include <fmt/chrono.h>
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+
+ #include "wpi/DataLogReader.h"
+ #include "wpi/DenseMap.h"
+diff --git a/wpiutil/src/main/native/include/wpi/Logger.h b/wpiutil/src/main/native/include/wpi/Logger.h
+index 01a02fd..bd524a9 100644
+--- a/wpiutil/src/main/native/include/wpi/Logger.h
++++ b/wpiutil/src/main/native/include/wpi/Logger.h
+@@ -9,6 +9,7 @@
+ #include <utility>
+
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+
+ namespace wpi {
+