nmap: fix build with GCC 12.
This commit is contained in:
parent
5df8f14a70
commit
2e75fc08cd
|
@ -0,0 +1,20 @@
|
||||||
|
--- a/nmap_error.cc
|
||||||
|
+++ b/nmap_error.cc
|
||||||
|
@@ -145,6 +145,7 @@
|
||||||
|
# include <time.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
+#include <ctime>
|
||||||
|
|
||||||
|
extern NmapOps o;
|
||||||
|
|
||||||
|
--- a/nping/EchoServer.cc
|
||||||
|
+++ b/nping/EchoServer.cc
|
||||||
|
@@ -127,6 +127,7 @@
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
+#include <ctime>
|
||||||
|
#include "nping.h"
|
||||||
|
#include "EchoServer.h"
|
||||||
|
#include "EchoHeader.h"
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=nmap
|
pkgname=nmap
|
||||||
reverts="7.90_1 7.91_1"
|
reverts="7.90_1 7.91_1"
|
||||||
version=7.80
|
version=7.80
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
||||||
hostmakedepends="python"
|
hostmakedepends="python"
|
||||||
|
|
Loading…
Reference in New Issue