summaryrefslogtreecommitdiff
path: root/packages/rxvt-unicode/files/xwc.patch
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-31 20:40:06 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-31 20:40:06 +0000
commitf73398ac656a31e2bbd214a3b2c3dc92eddaaecf (patch)
tree35eced269cfb11c5ba24584ef9c6a73860bbd57f /packages/rxvt-unicode/files/xwc.patch
parentcea573b7ab71cabae28020c7d3a11ee90b03d901 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/31 20:33:47+00:00 nexus.co.uk!pb update rxvt-unicode to 4.7 2004/12/31 20:03:54+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/31 20:03:33+00:00 nexus.co.uk!pb add gnutls, the GNU TLS library BKrev: 41d5b92692DCI_w1OBIpR5A9_or0Eg
Diffstat (limited to 'packages/rxvt-unicode/files/xwc.patch')
-rw-r--r--packages/rxvt-unicode/files/xwc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/rxvt-unicode/files/xwc.patch b/packages/rxvt-unicode/files/xwc.patch
index e69de29bb2..2db765040b 100644
--- a/packages/rxvt-unicode/files/xwc.patch
+++ b/packages/rxvt-unicode/files/xwc.patch
@@ -0,0 +1,25 @@
+--- ../rxvt-unicode-cvs-r0/rxvt-unicode/src/screen.C 2004-12-15 00:53:23 +00:00
++++ rxvt-unicode/src/screen.C 2004-12-24 02:28:38 +00:00
+@@ -3067,9 +3067,8 @@
+ else
+ rxvt_warn ("can't get primary selection, ignoring.\n");
+
+-#if 0
++#ifdef HAVE_XWC
+ XTextProperty ct;
+-
+ if (XwcTextListToTextProperty (display->display, &selection.text, 1, XStringStyle, &ct) >= 0)
+ {
+ set_string_property (XA_CUT_BUFFER0, ct.value, ct.nitems);
+@@ -3641,9 +3640,11 @@
+ }
+ else
+ #endif
++#ifdef HAVE_XWC
+ if (XwcTextListToTextProperty (display->display, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
+ freect = 1;
+ else
++#endif
+ {
+ /* if we failed to convert then send it raw */
+ ct.value = (unsigned char *)cl;