From fcdb47452f6173cf0519e5e0e2a810f6e5abe793 Mon Sep 17 00:00:00 2001 From: wrobell Date: Sun, 30 Jun 2013 15:53:21 +0100 Subject: [PATCH] - fixed tabbed extension syntax problem (visible with perl ver. 5.18) --- urxvt-tabbed_syntax.patch | 12 ++++++++++++ urxvt.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 urxvt-tabbed_syntax.patch diff --git a/urxvt-tabbed_syntax.patch b/urxvt-tabbed_syntax.patch new file mode 100644 index 0000000..3fdcebd --- /dev/null +++ b/urxvt-tabbed_syntax.patch @@ -0,0 +1,12 @@ +diff -Nur rxvt-unicode-9.18.orig/src/perl/tabbed rxvt-unicode-9.18/src/perl/tabbed +--- rxvt-unicode-9.18.orig/src/perl/tabbed 2013-02-17 00:41:38.000000000 +0000 ++++ rxvt-unicode-9.18/src/perl/tabbed 2013-06-30 15:47:43.442909402 +0100 +@@ -402,7 +402,7 @@ + # simply proxies all interesting calls back to the tabbed class. + + { +- for my $hook qw(start destroy key_press property_notify) { ++ for my $hook (qw(start destroy key_press property_notify)) { + eval qq{ + sub on_$hook { + my \$parent = \$_[0]{term}{parent} diff --git a/urxvt.spec b/urxvt.spec index 989d721..5f40289 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -8,13 +8,14 @@ Summary: Rxvt terminal with unicode support and some improvements Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami Name: urxvt Version: 9.18 -Release: 2 +Release: 3 License: GPL v2+ Group: X11/Applications Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 # Source0-md5: 963ccc748fe5bca925e7b92c0404d68b Source1: %{name}.desktop Patch0: %{name}-tic.patch +Patch1: %{name}-tabbed_syntax.patch URL: http://software.schmorp.de/ BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -54,6 +55,7 @@ URxvt jest modyfikacją Rxvt uwzględniającą: %prep %setup -q -n rxvt-unicode-%{version} %patch0 -p1 +%patch1 -p1 %build %{__aclocal} -I. -- 2.43.0