From 701ea6127bb049b6a2c5bf1c2dbd04a64e7a88bc Mon Sep 17 00:00:00 2001 From: paxcut Date: Mon, 22 Jun 2026 14:41:26 -0700 Subject: [PATCH] fix: archlinux builds fail On ArchLinux Imhex is built using USE_SYSTEM_FMT which was updated to 12.2.0 last week. Part of the update makes it mandatory for code that needs to use fmt::format to include fmt/format.h explicitly because fmt/core.h is now equivalent to fmt/base.h. Note that Imhex use the header only version when the system fmt is not used and with the header only version fmt/base.h also includes fmt/format.h so this is only needed for archlinux even if we update fmt to 12.2.0. --- lib/include/pl/core/evaluator.hpp | 2 +- lib/include/pl/core/lexer.hpp | 2 +- lib/include/pl/patterns/pattern.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/include/pl/core/evaluator.hpp b/lib/include/pl/core/evaluator.hpp index 2e6286b8..dd7c3a00 100644 --- a/lib/include/pl/core/evaluator.hpp +++ b/lib/include/pl/core/evaluator.hpp @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include diff --git a/lib/include/pl/core/lexer.hpp b/lib/include/pl/core/lexer.hpp index 4a9f2aa5..941066fc 100644 --- a/lib/include/pl/core/lexer.hpp +++ b/lib/include/pl/core/lexer.hpp @@ -5,7 +5,7 @@ #include -#include +#include #include #include diff --git a/lib/include/pl/patterns/pattern.hpp b/lib/include/pl/patterns/pattern.hpp index a9600d1b..20d5b8b3 100644 --- a/lib/include/pl/patterns/pattern.hpp +++ b/lib/include/pl/patterns/pattern.hpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include