aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/fmt/fix-warning4189.patch6
-rw-r--r--ports/fmt/vcpkg.json2
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/fmt/fix-warning4189.patch b/ports/fmt/fix-warning4189.patch
index 0efab0f1c..76431c367 100644
--- a/ports/fmt/fix-warning4189.patch
+++ b/ports/fmt/fix-warning4189.patch
@@ -2,11 +2,13 @@ diff --git a/include/fmt/format.h b/include/fmt/format.h
index 4e96539..0f1d179 100644
--- a/include/fmt/format.h
+++ b/include/fmt/format.h
-@@ -33,6 +33,7 @@
+@@ -33,6 +33,9 @@
#ifndef FMT_FORMAT_H_
#define FMT_FORMAT_H_
-
+
++#ifdef _MSC_VER
+#pragma warning(disable:4189)
++#endif
#include <algorithm>
#include <cerrno>
#include <cmath>
diff --git a/ports/fmt/vcpkg.json b/ports/fmt/vcpkg.json
index 232801247..b55b731cc 100644
--- a/ports/fmt/vcpkg.json
+++ b/ports/fmt/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "fmt",
"version": "7.1.3",
- "port-version": 4,
+ "port-version": 5,
"description": "Formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.",
"homepage": "https://github.com/fmtlib/fmt",
"dependencies": [