--- /usr/portage/net-analyzer/nsca/nsca-2.7.2-r103.ebuild 2015-08-09 23:34:52.000000000 +0300 +++ nsca-2.9.1.ebuild 2015-12-04 19:31:11.503202170 +0300 @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ +# $Header: EAPI=4 @@ -31,6 +31,11 @@ fi } +src_prepare() { + # Fix http://tracker.nagios.org/view.php?id=286 + epatch "${FILESDIR}/${P}-fix_open_missing_arg.patch" +} + src_configure() { use tcpd || export ac_cv_lib_wrap_main=no use crypt || export ac_cv_path_LIBMCRYPT_CONFIG=/bin/false