git: 4a704f0d9ed3 - main - graphics/clang-uml: Add patch to fix build on 134arm64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Mar 2025 17:07:42 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=4a704f0d9ed3c48546145d06322fe7b768198c48 commit 4a704f0d9ed3c48546145d06322fe7b768198c48 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-03-22 17:06:35 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-03-22 17:07:39 +0000 graphics/clang-uml: Add patch to fix build on 134arm64 clang-uml-0.6.1/thirdparty/indicators/indicators.hpp:1427:35: error: comparison of integers of different signs: 'wchar_t' and 'const int' [-Werror,-Wsign-compare] 1427 | if (ucs < table[0].first || ucs > table[max].last) | ~~~ ^ ~~~~~~~~~~~~~~~ Reported by: pkg-fallout --- .../patch-thirdparty_indicators_indicators.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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;