summaryrefslogtreecommitdiffstats
path: root/recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-07-13 03:00:24 -0700
committerRoss Burton <ross.burton@intel.com>2017-07-13 11:12:57 +0100
commit547d35b173061e73924d279f77d94a9f9aff4551 (patch)
tree3755b138fc9a9692f7e3472161b5f5ed7e2f17fd /recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch
parentd96ec8f6895d34cc9b05d9a0101ac496db324b18 (diff)
downloadmeta-gplv2-547d35b173061e73924d279f77d94a9f9aff4551.tar.gz
rxvt-unicode: move it to BBFILES
It should be in recipes-sato/rxvt-unicode, not recipes-sato. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch')
-rw-r--r--recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch b/recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch
new file mode 100644
index 0000000..16efeef
--- /dev/null
+++ b/recipes-sato/rxvt-unicode/rxvt-unicode/xwc.patch
@@ -0,0 +1,26 @@
1Upstream-Status: Pending
2
3diff -ruN rxvt-unicode-9.10-orig//src/screen.C rxvt-unicode-9.10/src/screen.C
4--- rxvt-unicode-9.10-orig//src/screen.C 2011-04-19 13:34:01.327664984 +0800
5+++ rxvt-unicode-9.10/src/screen.C 2011-04-19 13:34:47.037665001 +0800
6@@ -3152,7 +3152,7 @@
7 return false;
8 }
9
10-#if 0
11+#if HAVE_XWC
12 XTextProperty ct;
13
14 if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
15@@ -3734,9 +3734,11 @@
16 }
17 else
18 #endif
19+#ifdef HAVE_XWC
20 if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
21 freect = 1;
22 else
23+#endif
24 {
25 /* if we failed to convert then send it raw */
26 ct.value = (unsigned char *)cl;