Skip to content

Instantly share code, notes, and snippets.

@w0ng
Last active December 17, 2015 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save w0ng/5658173 to your computer and use it in GitHub Desktop.
Save w0ng/5658173 to your computer and use it in GitHub Desktop.
rxvt-unicode-patched fix
# https://bugs.archlinux.org/task/35420
--- src/perl/tabbed 2012-09-12 17:32:04.000000000 +0900
+++ src/perl/tabbed 2013-05-24 13:04:37.000000000 +0900
@@ -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}
--- PKGBUILD.old 2013-05-28 03:20:42.735885167 +1000
+++ PKGBUILD 2013-05-28 03:21:00.962453092 +1000
@@ -7,7 +7,7 @@
pkgname=rxvt-unicode-patched
_pkgname=rxvt-unicode
pkgver=9.18
-pkgrel=1
+pkgrel=2
pkgdesc='Unicode enabled rxvt-clone terminal emulator (urxvt) with fixed font spacing.'
arch=('i686' 'x86_64')
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
@@ -20,20 +20,22 @@ source=(http://dist.schmorp.de/rxvt-unic
'urxvt.desktop'
'urxvtc.desktop'
'urxvt-tabbed.desktop'
- font-width-fix.patch
- line-spacing-fix.patch)
+ 'font-width-fix.patch'
+ 'line-spacing-fix.patch'
+ '01-fix-tabber-perl-ext.patch')
sha1sums=('5d12639c4b17019357ee62c08916b826e5d03259'
'b5a4507f85ebb7bac589db2e07d9bc40106720d9'
'62c4ffecfce6967def394dd4d418b68652372ea2'
'cd204d608d114d39c80331efe0af0231ad6b7e18'
'01ee8f212add79a158dcd4ed78d0ea1324bdc59b'
- 'b7fde1c46af45e831828738874f14b092b1e795f')
-
+ 'b7fde1c46af45e831828738874f14b092b1e795f'
+ '89beefd6b03e58e350cd11c6040fea5d3c41b4ad')
build() {
cd $_pkgname-$pkgver
patch -p0 -i ../font-width-fix.patch
patch -p0 -i ../line-spacing-fix.patch
+ patch -p0 -i ../01-fix-tabber-perl-ext.patch
./configure \
--prefix=/usr \
--with-terminfo=/usr/share/terminfo \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment