aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/xwc.patch
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-10-30 17:35:50 +0200
committerSaul Wold <sgw@linux.intel.com>2013-10-31 23:57:04 -0700
commita896ac91109ab3f2a6b8c7253c6da3e3e60203b6 (patch)
treee7de42f545ecbc2e5d5cbd11a999adce055dc234 /meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/xwc.patch
parentb9778975db410b8cd01ef6854c7cd3ea22a0b5b7 (diff)
downloadopenembedded-core-contrib-a896ac91109ab3f2a6b8c7253c6da3e3e60203b6.tar.gz
rxvt-unicode: upgrade to 9.19
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/xwc.patch')
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/xwc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/xwc.patch b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/xwc.patch
new file mode 100644
index 0000000000..16efeef49f
--- /dev/null
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.19/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;