aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-10-11 11:38:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 12:53:31 +0100
commite08f329c1208d776b0f0459440ad30730ab44b8a (patch)
tree7212b361c2e46434a0e6e267069e5d3b3a5b45d2 /meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch
parent53a631c0b5fcd9c70c727e2773aa6d90eeaf7acf (diff)
downloadopenembedded-core-contrib-e08f329c1208d776b0f0459440ad30730ab44b8a.tar.gz
rxvt-unicode: Update to 9.12
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch')
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch
new file mode 100644
index 0000000000..16efeef49f
--- /dev/null
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.12/xwc.patch
@@ -0,0 +1,26 @@
+Upstream-Status: Pending
+
+diff -ruN rxvt-unicode-9.10-orig//src/screen.C rxvt-unicode-9.10/src/screen.C
+--- rxvt-unicode-9.10-orig//src/screen.C 2011-04-19 13:34:01.327664984 +0800
++++ rxvt-unicode-9.10/src/screen.C 2011-04-19 13:34:47.037665001 +0800
+@@ -3152,7 +3152,7 @@
+ return false;
+ }
+
+-#if 0
++#if HAVE_XWC
+ XTextProperty ct;
+
+ if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
+@@ -3734,9 +3734,11 @@
+ }
+ else
+ #endif
++#ifdef HAVE_XWC
+ if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
+ freect = 1;
+ else
++#endif
+ {
+ /* if we failed to convert then send it raw */
+ ct.value = (unsigned char *)cl;