diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-01-25 15:13:37 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-01-25 15:13:50 +0100 |
commit | b58e9ab433da5a8629d049ff3a73b348a27b5528 (patch) | |
tree | 24be8f7106cdc1f2a9ed0ac0254bce684e8d24ec /net-analyzer/nmap | |
parent | sys-libs/db: Removed old. (diff) | |
download | gentoo-b58e9ab433da5a8629d049ff3a73b348a27b5528.tar.gz gentoo-b58e9ab433da5a8629d049ff3a73b348a27b5528.tar.bz2 gentoo-b58e9ab433da5a8629d049ff3a73b348a27b5528.zip |
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 <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r-- | net-analyzer/nmap/files/nmap-7.70-time.patch | 10 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-7.70.ebuild | 5 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-9999.ebuild | 3 |
3 files changed, 14 insertions, 4 deletions
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 <errno.h> ++#include <time.h> + + 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}" |