--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/materm -> /usr/bin/mrxvt
+-rwxr-xr-x root/root usr/bin/mrxvt
+drwxr-xr-x root/root usr/etc/
+drwxr-xr-x root/root usr/etc/mrxvt/
+-rw-r--r-- root/root usr/etc/mrxvt/default.menu.sample
+-rw-r--r-- root/root usr/etc/mrxvt/mrxvtrc.sample
+-rw-r--r-- root/root usr/etc/mrxvt/submenus.menu.sample
+-rw-r--r-- root/root usr/etc/mrxvtrc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/mrxvt.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/pixmaps/
+-rw-r--r-- root/root usr/share/pixmaps/mrxvt-csh.xpm
+-rw-r--r-- root/root usr/share/pixmaps/mrxvt-root.xpm
+-rw-r--r-- root/root usr/share/pixmaps/mrxvt.xpm
--- /dev/null
+2b6ecc9d68185e56a50eca0a2548fa8b mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
+0232c8868484751dcb931a28f0756f69 mrxvt-0.5.4.tar.gz
--- /dev/null
+# Description: Multi-tabbed rxvt based terminal
+# URL: http://materm.sourceforge.net/
+# Packager: Jose V Beneyto sepen at users dot sourceforge dot net
+# Maintainer: Jose V Beneyto sepen at users dot sourceforge dot net
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libxft
+
+name=mrxvt
+version=0.5.4
+release=2
+source=(http://dl.sourceforge.net/sourceforge/materm/$name-$version.tar.gz \
+ $name-$version-001-fix-segfault-when-wd-empty.patch)
+
+build() {
+ cd $name-$version
+
+ patch -p0 -i $SRC/$name-$version-001-fix-segfault-when-wd-empty.patch
+ echo "ac_cv_func_setpgrp_void=yes" > config.cache
+
+ export CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/freetype2"
+ export LDFLAGS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lX11"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --disable-debug \
+ --enable-menubar \
+ --enable-xft \
+ --with-save-lines=200 \
+ --with-x \
+ --cache-file=config.cache
+
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/share/doc
+ mv $PKG/usr/etc/{mrxvt/mrxvtrc,mrxvtrc}
+ mv $PKG/usr/etc/mrxvt/default.{menu,menu.sample}
+ mv $PKG/usr/etc/mrxvt/submenus.{menu,menu.sample}
+ mv $PKG/usr/share/man $PKG/usr
+ rm -f $PKG/usr/share/pixmaps/*.png
+ ln -sf /usr/bin/$name $PKG/usr/bin/materm
+}
--- /dev/null
+Index: src/tabbar.c
+===================================================================
+--- src/tabbar.c (revision 337)
++++ src/tabbar.c (working copy)
+@@ -1327,7 +1327,7 @@
+ if( p.we_wordc > 1)
+ rxvt_msg( DBG_ERROR, DBG_TABBAR,
+ "Too many words when expanding %s\n", cwdOption );
+- else
++ else if( NOT_NULL( *p.we_wordv ) )
+ {
+ filename = *p.we_wordv;
+