packages/rxvt-unicode/rxvt-unicode_7.7.bb : rediff and restore the xwc patch.
authorGraeme Gregory <dp@xora.org.uk>
Thu, 11 May 2006 14:04:51 +0000 (14:04 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 11 May 2006 14:04:51 +0000 (14:04 +0000)
packages/rxvt-unicode/rxvt-unicode-7.7/.mtn2git_empty [new file with mode: 0644]
packages/rxvt-unicode/rxvt-unicode-7.7/xwc.patch [new file with mode: 0644]
packages/rxvt-unicode/rxvt-unicode_7.7.bb

diff --git a/packages/rxvt-unicode/rxvt-unicode-7.7/.mtn2git_empty b/packages/rxvt-unicode/rxvt-unicode-7.7/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/rxvt-unicode/rxvt-unicode-7.7/xwc.patch b/packages/rxvt-unicode/rxvt-unicode-7.7/xwc.patch
new file mode 100644 (file)
index 0000000..fbab74a
--- /dev/null
@@ -0,0 +1,23 @@
+--- rxvt-unicode-7.7/src/screen.C.orig 2006-05-11 14:48:12.000000000 +0100
++++ rxvt-unicode-7.7/src/screen.C      2006-05-11 14:49:37.000000000 +0100
+@@ -3061,7 +3061,7 @@
+       return false;
+     }
+-#if 0
++#if HAVE_XWC
+   XTextProperty ct;
+   if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
+@@ -3628,9 +3628,11 @@
+         }
+       else
+ #endif
++#if 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;
index 233eabb..345a52a 100644 (file)
@@ -11,6 +11,7 @@ FILES_${PN}-daemon = "${bindir}/rxvtd"
 FILES_${PN}-control = "${bindir}/rxvtc"
 
 SRC_URI = "http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-${PV}.tar.bz2 \
+           file://xwc.patch;patch=1 \
            file://signedchar.patch;patch=1" 
 PR = "r0"