--- /dev/null
+--- cmd.c-orig 2014-02-26 09:57:06.441154327 -0300
++++ cmd.c 2014-02-26 09:58:00.631888951 -0300
+@@ -138,6 +138,9 @@
+ size_t arglen;
+ int i;
+
++ if (argc == 0)
++ return (0);
++
+ *buf = '\0';
+ for (i = 0; i < argc; i++) {
+ if (strlcpy(buf, argv[i], len) >= len)
--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = tmux
+version = 1.9a
+release = 1
+
+groups = Application/System
+url = http://sourceforge.net/projects/tmux
+license = ISC and BSD
+summary = A terminal multiplexer
+
+description
+ tmux is a "terminal multiplexer." It enables a number of terminals
+ (or windows) to be accessed and controlled from a single terminal.
+ tmux is intended to be a simple, modern, BSD-licensed alternative to
+ programs such as GNU Screen.
+end
+
+source_dl = http://downloads.sourceforge.net/%{name}/
+
+build
+ requires
+ ncurses-devel
+ libevent-devel
+ end
+end
+
+packages
+ package %{name}
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end