diff --git a/srcpkgs/nmap/patches/gcc12.patch b/srcpkgs/nmap/patches/gcc12.patch new file mode 100644 index 00000000000..6a29383339e --- /dev/null +++ b/srcpkgs/nmap/patches/gcc12.patch @@ -0,0 +1,20 @@ +--- a/nmap_error.cc ++++ b/nmap_error.cc +@@ -145,6 +145,7 @@ + # include + # endif + #endif ++#include + + extern NmapOps o; + +--- a/nping/EchoServer.cc ++++ b/nping/EchoServer.cc +@@ -127,6 +127,7 @@ + * * + ***************************************************************************/ + ++#include + #include "nping.h" + #include "EchoServer.h" + #include "EchoHeader.h" diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template index 9b507d649fd..6b336c3aa36 100644 --- a/srcpkgs/nmap/template +++ b/srcpkgs/nmap/template @@ -2,7 +2,7 @@ pkgname=nmap reverts="7.90_1 7.91_1" version=7.80 -revision=6 +revision=7 build_style=gnu-configure configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)" hostmakedepends="python"