aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorrigoletto <rigoletto@FreeBSD.org>2018-12-20 07:23:41 +0800
committerrigoletto <rigoletto@FreeBSD.org>2018-12-20 07:23:41 +0800
commit0cb02fb91ad52b90cba6c94f66225318af51de3b (patch)
tree2ed171325f66e422d717feab367ecc1e54acb4b6 /x11
parent0d09a453d33cc9919524014f823fb3c806f0fc36 (diff)
downloadfreebsd-ports-gnome-0cb02fb91ad52b90cba6c94f66225318af51de3b.tar.gz
freebsd-ports-gnome-0cb02fb91ad52b90cba6c94f66225318af51de3b.tar.zst
freebsd-ports-gnome-0cb02fb91ad52b90cba6c94f66225318af51de3b.zip
x11/polybar: fix build on 13-CURRENT.
Approved by: tcberner (mentor) Obtained from: upstream Differential Revision: https://reviews.freebsd.org/D18567
Diffstat (limited to 'x11')
-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);
+ }
+ }
+