diff --git a/irssi-support-meta-cursor-xterm.patch b/irssi-support-meta-cursor-xterm.patch new file mode 100644 index 0000000..cb099db --- /dev/null +++ b/irssi-support-meta-cursor-xterm.patch @@ -0,0 +1,12 @@ +Special thanks for this patch goes to James Bowes + +--- src/fe-text/gui-readline.c 2007-08-16 21:51:54.000000000 +0200 ++++ src/fe-text/gui-readline.c 2007-08-16 21:58:53.000000000 +0200 +@@ -1053,6 +1053,7 @@ + key_bind("key", NULL, "meta-[", "meta2", (SIGNAL_FUNC) key_combo); + key_bind("key", NULL, "meta-O", "meta2", (SIGNAL_FUNC) key_combo); + key_bind("key", NULL, "meta-[O", "meta2", (SIGNAL_FUNC) key_combo); ++ key_bind("key", NULL, "[1;3", "meta2", (SIGNAL_FUNC) key_combo); + + /* arrow keys */ + key_bind("key", NULL, "meta2-A", "up", (SIGNAL_FUNC) key_combo); diff --git a/irssi.spec b/irssi.spec index 30a87cf..6254cac 100644 --- a/irssi.spec +++ b/irssi.spec @@ -3,7 +3,7 @@ Summary: Modular text mode IRC client with Perl scripting Name: irssi Version: 0.8.11 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/Communications @@ -15,6 +15,8 @@ BuildRequires: pkgconfig glib2-devel perl-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Patch0: irssi-support-meta-cursor-xterm.patch + %package devel Summary: Development package for irssi Group: Development/Libraries @@ -36,6 +38,8 @@ being maintained. %prep %setup -q -n %{name}-%{version} +%patch0 -p0 + %build %configure --enable-ipv6 --with-textui \ --with-proxy \ @@ -82,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/irssi %changelog +* Thu Aug 16 2007 Marek Mahut - 0.8.11-4 +- Added irssi-support-meta-cursor-xterm.patch (#239511) + * Thu Aug 16 2007 Marek Mahut - 0.8.11-2 - Updating license tag - Rebuild for 0.8.11