From 187e799b91fe2f26ccce071be6f3c06ae5db8767 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Thu, 11 May 2006 14:04:51 +0000 Subject: packages/rxvt-unicode/rxvt-unicode_7.7.bb : rediff and restore the xwc patch. --- .../rxvt-unicode/rxvt-unicode-7.7/.mtn2git_empty | 0 packages/rxvt-unicode/rxvt-unicode-7.7/xwc.patch | 23 ++++++++++++++++++++++ packages/rxvt-unicode/rxvt-unicode_7.7.bb | 1 + 3 files changed, 24 insertions(+) create mode 100644 packages/rxvt-unicode/rxvt-unicode-7.7/.mtn2git_empty create mode 100644 packages/rxvt-unicode/rxvt-unicode-7.7/xwc.patch 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 index 0000000000..e69de29bb2 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 index 0000000000..fbab74aa3d --- /dev/null +++ b/packages/rxvt-unicode/rxvt-unicode-7.7/xwc.patch @@ -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; diff --git a/packages/rxvt-unicode/rxvt-unicode_7.7.bb b/packages/rxvt-unicode/rxvt-unicode_7.7.bb index 233eabb9ac..345a52aebb 100644 --- a/packages/rxvt-unicode/rxvt-unicode_7.7.bb +++ b/packages/rxvt-unicode/rxvt-unicode_7.7.bb @@ -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" -- cgit v1.2.3