Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmap/files/
Date: Fri, 25 Jan 2019 14:39:58
Message-Id: 1548427178.0390c17140e8122552113b7da35220788de78b47.jer@gentoo
1 commit: 0390c17140e8122552113b7da35220788de78b47
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 25 14:39:28 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 25 14:39:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0390c171
7
8 net-analyzer/nmap: include more time.h
9
10 Fixes: https://bugs.gentoo.org/676206
11 Package-Manager: Portage-2.3.58, Repoman-2.3.12
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 net-analyzer/nmap/files/nmap-7.70-time.patch | 30 ++++++++++++++++++++++++++++
15 1 file changed, 30 insertions(+)
16
17 diff --git a/net-analyzer/nmap/files/nmap-7.70-time.patch b/net-analyzer/nmap/files/nmap-7.70-time.patch
18 index 6d12ea8f96f..4b97bdf4904 100644
19 --- a/net-analyzer/nmap/files/nmap-7.70-time.patch
20 +++ b/net-analyzer/nmap/files/nmap-7.70-time.patch
21 @@ -8,3 +8,33 @@
22
23 extern NmapOps o;
24
25 +--- a/nmap.cc
26 ++++ b/nmap.cc
27 +@@ -161,6 +161,7 @@
28 + #endif
29 +
30 + #include <fcntl.h>
31 ++#include <time.h>
32 +
33 + #ifdef HAVE_PWD_H
34 + #include <pwd.h>
35 +--- a/osscan2.cc
36 ++++ b/osscan2.cc
37 +@@ -147,6 +147,7 @@
38 +
39 + #include <list>
40 + #include <math.h>
41 ++#include <time.h>
42 +
43 + extern NmapOps o;
44 + #ifdef WIN32
45 +--- a/output.cc
46 ++++ b/output.cc
47 +@@ -153,6 +153,7 @@
48 + #include "libnetutil/netutil.h"
49 +
50 + #include <math.h>
51 ++#include <time.h>
52 +
53 + #include <set>
54 + #include <vector>