From 2a7d91b0eddd37dd872d75747e45dc8fd664895d Mon Sep 17 00:00:00 2001 From: Tobias Klausmann Date: Thu, 15 Oct 2015 09:54:43 +0200 Subject: [PATCH] app-misc/tmux: Add dependency on the fixed version of libevent libevent has a patch for the Zombie bug, but it is in none of the released versions. Let's use it to unbreak tmux after 6mo of Zombies. Gentoo-Bug: 540456 Libevent-Bug: http://sourceforge.net/p/levent/bugs/350/ Package-Manager: portage-2.2.23 --- app-misc/tmux/tmux-2.0-r4.ebuild | 87 ++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 app-misc/tmux/tmux-2.0-r4.ebuild diff --git a/app-misc/tmux/tmux-2.0-r4.ebuild b/app-misc/tmux/tmux-2.0-r4.ebuild new file mode 100644 index 000000000000..8696d53c6f95 --- /dev/null +++ b/app-misc/tmux/tmux-2.0-r4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils bash-completion-r1 flag-o-matic + +DESCRIPTION="Terminal multiplexer" +HOMEPAGE="http://tmux.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="debug selinux vim-syntax" + +CDEPEND=" + || ( =dev-libs/libevent-2.0* + >=dev-libs/libevent-2.1.5-r4 ) + !sys-apps/utempter + sys-libs/ncurses" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-screen ) + vim-syntax? ( || ( + app-editors/vim + app-editors/gvim ) )" + +DOCS=( CHANGES FAQ README TODO ) + +PATCHES=( "${FILESDIR}"/${P}-flags.patch ) + +pkg_setup() { + if has_version "