vcpkg/ports/seacas/fix-fmt-10.patch
Pierre Wendling 656fcc6ab2
[fmt] Update to 10.0.0 (#31378)
* [fmt] Update to version 10.0.0.

* [fmt] Update portfile.

- Remove dead code. It is no longer necessary to manually move DLLs and
edit CMake configs.
- Use vcpkg_install_copyright.

* [fmt] Update baseline.

* [cachelib] Update to 2023.05.08.00, support fmt 10

* Update to 2023.05.08.00.
* Add patch to support fmt 10.
* Update baseline.

* [spdlog] Add upstream patch for fmt 10.

* Add upstream patch to support fmt 10.
* Update portfile.
* Add usage.
* Update baseline.

* [seacas] Add upstream patch to support fmt 10.0.0.

* Add patch to support fmt 10.0.0.
* Update baseline.

* [coolprop] Update patch to support fmt 10.

* Update patch to support fmt 10.0.0. See CoolProp/CoolProp#2252
* Update baseline.

* [wasmedge] Add patch for fmt 10 support.

* Add patch to support fmt 10
* Update baseline
2023-05-21 18:05:01 -07:00

29 lines
1.4 KiB
Diff

From 5a576de57ee1664d845c83f552f2100cc9303a26 Mon Sep 17 00:00:00 2001
From: Greg Sjaardema <gsjaardema@gmail.com>
Date: Wed, 10 May 2023 15:28:53 -0600
Subject: [PATCH] IOSS: Fix enum printing to work with fmt-10
---
.../seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C b/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C
index b6827aa177..59507085fc 100644
--- a/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C
+++ b/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C
@@ -1,4 +1,4 @@
-// Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions
+// Copyright(C) 1999-2020, 2022, 2023 National Technology & Engineering Solutions
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
// NTESS, the U.S. Government retains certain rights in this software.
//
@@ -802,7 +802,7 @@ namespace Iotm {
std::ostringstream errmsg;
fmt::print(errmsg,
"Error: Failed to find entity of type {} with name {} for Assembly {}.\n",
- type, members[j], assem->name());
+ Ioss::Utils::entity_type_to_string(type), members[j], assem->name());
IOSS_ERROR(errmsg);
}
}