packages/net/nmap/patches/030-libcxx.patch
Konstantin Demin 2a4b38d8db nmap: bump to 7.91
changes: https://nmap.org/changelog#7.91

drop patches (applied upstream):
- 010-Avoid-using-namespace-std-causing-name-conflicts.patch
refresh patches:
- 020-Python3-port-of-ndiff.patch
- 030-libcxx.patch

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2021-03-20 22:47:01 +01:00

20 lines
387 B
Diff

--- a/nmap_error.cc
+++ b/nmap_error.cc
@@ -66,6 +66,7 @@
#include "NmapOps.h"
#include "xml.h"
+#include <ctime>
#include <errno.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
--- a/nping/EchoServer.cc
+++ b/nping/EchoServer.cc
@@ -69,6 +69,7 @@
#include "NpingOps.h"
#include "ProbeMode.h"
#include <signal.h>
+#include <ctime>
extern NpingOps o;
extern EchoServer es;