diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /gui-apps/waybar/files | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'gui-apps/waybar/files')
-rw-r--r-- | gui-apps/waybar/files/waybar-0.9.3-fix-crash-with-fmt.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gui-apps/waybar/files/waybar-0.9.3-fix-crash-with-fmt.patch b/gui-apps/waybar/files/waybar-0.9.3-fix-crash-with-fmt.patch new file mode 100644 index 000000000000..73a2d871f2d6 --- /dev/null +++ b/gui-apps/waybar/files/waybar-0.9.3-fix-crash-with-fmt.patch @@ -0,0 +1,22 @@ +From 9b41b9593418772ce578a87de5984d4e37ef7f11 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Thorben=20G=C3=BCnther?= <admin@xenrox.net> +Date: Mon, 10 Aug 2020 20:53:29 +0200 +Subject: [PATCH] Fix crash with fmt + +--- + include/util/format.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/util/format.hpp b/include/util/format.hpp +index 0147701b..288d8f0c 100644 +--- a/include/util/format.hpp ++++ b/include/util/format.hpp +@@ -23,7 +23,7 @@ namespace fmt { + constexpr auto parse(ParseContext& ctx) -> decltype (ctx.begin()) { + auto it = ctx.begin(), end = ctx.end(); + if (it != end && *it == ':') ++it; +- if (*it == '>' || *it == '<' || *it == '=') { ++ if (it && (*it == '>' || *it == '<' || *it == '=')) { + spec = *it; + ++it; + } |