From 0cb02fb91ad52b90cba6c94f66225318af51de3b Mon Sep 17 00:00:00 2001 From: rigoletto Date: Wed, 19 Dec 2018 23:23:41 +0000 Subject: x11/polybar: fix build on 13-CURRENT. Approved by: tcberner (mentor) Obtained from: upstream Differential Revision: https://reviews.freebsd.org/D18567 --- x11/polybar/files/patch-git_3b32f58 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 x11/polybar/files/patch-git_3b32f58 (limited to 'x11') diff --git a/x11/polybar/files/patch-git_3b32f58 b/x11/polybar/files/patch-git_3b32f58 new file mode 100644 index 000000000000..1af54826a3fa --- /dev/null +++ b/x11/polybar/files/patch-git_3b32f58 @@ -0,0 +1,23 @@ +From 3b32f5899a4d9a0bcb49099ee4bfee750366a3e6 Mon Sep 17 00:00:00 2001 +From: patrick96 +Date: Mon, 15 Oct 2018 17:24:27 +0200 +Subject: [PATCH] fix: Move return value of parse_layout_symbol + +Fixes #1469 +--- + src/x11/extensions/xkb.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/x11/extensions/xkb.cpp b/src/x11/extensions/xkb.cpp +index 1875c585..a521b935 100644 +--- src/x11/extensions/xkb.cpp ++++ src/x11/extensions/xkb.cpp +@@ -208,7 +208,7 @@ namespace xkb_util { + if (string_util::contains(LAYOUT_SYMBOL_BLACKLIST, ";" + name + ";")) { + return ""; + } +- return name; ++ return move(name); + } + } + -- cgit