[packages/urxvt] - fixed tabbed extension syntax problem (visible with perl ver. 5.18)

wrobell wrobell at pld-linux.org
Sun Jun 30 16:54:20 CEST 2013


commit fcdb47452f6173cf0519e5e0e2a810f6e5abe793
Author: wrobell <wrobell at pld-linux.org>
Date:   Sun Jun 30 15:53:21 2013 +0100

    - 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(-)
---
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.
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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/urxvt.git/commitdiff/fcdb47452f6173cf0519e5e0e2a810f6e5abe793



More information about the pld-cvs-commit mailing list