From: Rosen Penev Date: Tue, 2 Jun 2020 23:29:28 +0000 (-0700) Subject: nmap: fix compilation with libcxx 10 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5f6f54b851f71bea1fafba1b790bd8597773cffb;p=openwrt-packages.git nmap: fix compilation with libcxx 10 Seems nmap's time header logic is broken. Signed-off-by: Rosen Penev --- diff --git a/net/nmap/Makefile b/net/nmap/Makefile index 648ade267..541124a43 100644 --- a/net/nmap/Makefile +++ b/net/nmap/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nmap PKG_VERSION:=7.80 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MAINTAINER:=Nuno Goncalves PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/net/nmap/patches/030-libcxx.patch b/net/nmap/patches/030-libcxx.patch new file mode 100644 index 000000000..c28aeeaee --- /dev/null +++ b/net/nmap/patches/030-libcxx.patch @@ -0,0 +1,20 @@ +--- a/nmap_error.cc ++++ b/nmap_error.cc +@@ -134,6 +134,7 @@ + #include "NmapOps.h" + #include "xml.h" + ++#include + #include + #if TIME_WITH_SYS_TIME + # include +--- a/nping/EchoServer.cc ++++ b/nping/EchoServer.cc +@@ -137,6 +137,7 @@ + #include "NpingOps.h" + #include "ProbeMode.h" + #include ++#include + + extern NpingOps o; + extern EchoServer es;