aboutsummaryrefslogtreecommitdiff
path: root/graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-03-22 17:06:35 +0000
committerGleb Popov <arrowd@FreeBSD.org>2025-03-22 17:07:39 +0000
commit4a704f0d9ed3c48546145d06322fe7b768198c48 (patch)
tree3c53a2e4ab09877b9ebe70b2fce46ec284d81ed1 /graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp
parentf79c9c747f45cdda85a257bd6404e5a701cc0e1d (diff)
Diffstat (limited to 'graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp')
-rw-r--r--graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp b/graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp
new file mode 100644
index 000000000000..537033468d44
--- /dev/null
+++ b/graphics/clang-uml/files/patch-thirdparty_indicators_indicators.hpp
@@ -0,0 +1,22 @@
+--- thirdparty/indicators/indicators.hpp.orig 2025-03-05 16:32:09 UTC
++++ thirdparty/indicators/indicators.hpp
+@@ -1415,8 +1415,8 @@ struct interval {
+ */
+
+ struct interval {
+- int first;
+- int last;
++ wchar_t first;
++ wchar_t last;
+ };
+
+ /* auxiliary function for binary search in interval table */
+@@ -1666,7 +1666,7 @@ static inline std::wstring utf8_decode(const std::stri
+ setlocale(LC_ALL, curLocale.c_str());
+ return result;
+ }
+-#else
++#else
+ static inline std::wstring utf8_decode(const std::string& s) {
+ auto r = setlocale(LC_ALL, "");
+ std::string curLocale;