aboutsummaryrefslogtreecommitdiff
path: root/x11/polybar
diff options
context:
space:
mode:
authorAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2018-12-19 23:23:41 +0000
committerAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2018-12-19 23:23:41 +0000
commit0f3ee33fe13ae07839f6c95d7e7f2cc4bc8826ab (patch)
tree2ed171325f66e422d717feab367ecc1e54acb4b6 /x11/polybar
parent084d43b7b7ff60613c959612ab3d6a9e870d7a1c (diff)
downloadports-0f3ee33fe13ae07839f6c95d7e7f2cc4bc8826ab.tar.gz
ports-0f3ee33fe13ae07839f6c95d7e7f2cc4bc8826ab.zip
x11/polybar: fix build on 13-CURRENT.
Approved by: tcberner (mentor) Obtained from: upstream Differential Revision: https://reviews.freebsd.org/D18567
Notes
Notes: svn path=/head/; revision=487818
Diffstat (limited to 'x11/polybar')
-rw-r--r--x11/polybar/files/patch-git_3b32f5823
1 files changed, 23 insertions, 0 deletions
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 <p.ziegler96@gmail.com>
+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);
+ }
+ }
+