From: Jeroen Roovers Date: Fri, 25 Jan 2019 14:13:37 +0000 (+0100) Subject: net-analyzer/nmap: nmap_error.cc: include time.h X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b58e9ab433da5a8629d049ff3a73b348a27b5528;p=gentoo.git net-analyzer/nmap: nmap_error.cc: include time.h Fixes: https://bugs.gentoo.org/676206 Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Jeroen Roovers --- diff --git a/net-analyzer/nmap/files/nmap-7.70-time.patch b/net-analyzer/nmap/files/nmap-7.70-time.patch new file mode 100644 index 000000000000..6d12ea8f96fe --- /dev/null +++ b/net-analyzer/nmap/files/nmap-7.70-time.patch @@ -0,0 +1,10 @@ +--- a/nmap_error.cc ++++ b/nmap_error.cc +@@ -135,6 +135,7 @@ + #include "xml.h" + + #include ++#include + + extern NmapOps o; + diff --git a/net-analyzer/nmap/nmap-7.70.ebuild b/net-analyzer/nmap/nmap-7.70.ebuild index 692e3cb12908..e9bc260c7a9f 100644 --- a/net-analyzer/nmap/nmap-7.70.ebuild +++ b/net-analyzer/nmap/nmap-7.70.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -25,13 +25,11 @@ IUSE=" zenmap " NMAP_LINGUAS=( de fr hi hr it ja pl pt_BR ru zh ) - REQUIRED_USE=" system-lua? ( nse ) ndiff? ( ${PYTHON_REQUIRED_USE} ) zenmap? ( ${PYTHON_REQUIRED_USE} ) " - RDEPEND=" dev-libs/liblinear:= dev-libs/libpcre @@ -66,6 +64,7 @@ PATCHES=( "${FILESDIR}"/${PN}-7.25-CXXFLAGS.patch "${FILESDIR}"/${PN}-7.25-libpcre.patch "${FILESDIR}"/${PN}-7.31-libnl.patch + "${FILESDIR}"/${PN}-7.70-time.patch ) S="${WORKDIR}/${MY_P}" diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild index a54dd5819b11..c282246d4512 100644 --- a/net-analyzer/nmap/nmap-9999.ebuild +++ b/net-analyzer/nmap/nmap-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -65,6 +65,7 @@ PATCHES=( "${FILESDIR}"/${PN}-7.25-CXXFLAGS.patch "${FILESDIR}"/${PN}-7.25-libpcre.patch "${FILESDIR}"/${PN}-7.31-libnl.patch + "${FILESDIR}"/${PN}-7.70-time.patch ) S="${WORKDIR}/${MY_P}"