diff --git a/meta-oe/recipes-security/nmap/files/0001-Include-time.h-header-to-pass-clang-compilation.patch b/meta-oe/recipes-security/nmap/files/0001-Include-time.h-header-to-pass-clang-compilation.patch
deleted file mode 100644
index 2ff047c265..0000000000
--- a/meta-oe/recipes-security/nmap/files/0001-Include-time.h-header-to-pass-clang-compilation.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From a068952a20880fc864e8cb8b49f8a6b143a5ac30 Mon Sep 17 00:00:00 2001
-From: Peiran Hong <peiran.hong@windriver.com>
-Date: Fri, 20 Sep 2019 15:02:45 -0400
-Subject: [PATCH] Include time.h header to pass clang compilation
-
----
-Upstream-Status: Pending
-
- nmap_error.cc       | 11 +----------
- nping/EchoServer.cc |  1 +
- osscan2.cc          |  1 +
- service_scan.cc     |  1 +
- 4 files changed, 4 insertions(+), 10 deletions(-)
-
-diff --git a/nmap_error.cc b/nmap_error.cc
---- a/nmap_error.cc
-+++ b/nmap_error.cc
-@@ -66,16 +66,7 @@
- #include "xml.h"
- 
- #include <errno.h>
--#if TIME_WITH_SYS_TIME
--# include <sys/time.h>
--# include <time.h>
--#else
--# if HAVE_SYS_TIME_H
--#  include <sys/time.h>
--# else
--#  include <time.h>
--# endif
--#endif
-+#include <time.h>
- 
- extern NmapOps o;
- 
-diff --git a/nping/EchoServer.cc b/nping/EchoServer.cc
---- a/nping/EchoServer.cc
-+++ b/nping/EchoServer.cc
-@@ -68,6 +68,7 @@
- #include "NpingOps.h"
- #include "ProbeMode.h"
- #include <signal.h>
-+#include <time.h>
- 
- extern NpingOps o;
- extern EchoServer es;
-diff --git a/osscan2.cc b/osscan2.cc
---- a/osscan2.cc
-+++ b/osscan2.cc
-@@ -78,6 +78,7 @@
- 
- #include <list>
- #include <math.h>
-+#include <time.h>
- 
- extern NmapOps o;
- 
-diff --git a/service_scan.cc b/service_scan.cc
---- a/service_scan.cc
-+++ b/service_scan.cc
-@@ -78,6 +78,7 @@
- #include "nmap_tty.h"
- 
- #include <errno.h>
-+#include <time.h>
- 
- #if HAVE_OPENSSL
- /* OpenSSL 1.0.0 needs _WINSOCKAPI_ to be defined, otherwise it loads
diff --git a/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch b/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch
index aad8b1ee92..9c222fdcf2 100644
--- a/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch
+++ b/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch
@@ -37,19 +37,14 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  Makefile.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/Makefile.in b/Makefile.in
-index e2f79c9..0e634a3 100644
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -159,7 +159,7 @@ build-netutil: libnetutil/Makefile
+@@ -166,7 +166,7 @@
  	@echo Compiling libnetutil;
  	cd libnetutil && $(MAKE)
  
--build-ncat: $(NCATDIR)/Makefile build-nbase build-nsock $(NCATDIR)/ncat.h @PCAP_BUILD@
-+build-ncat: $(NCATDIR)/Makefile build-nbase build-nsock build-lua $(NCATDIR)/ncat.h @PCAP_BUILD@
+-build-ncat: $(NCATDIR)/Makefile @NBASE_BUILD@ @NSOCK_BUILD@ $(NCATDIR)/ncat.h @PCAP_BUILD@
++build-ncat: $(NCATDIR)/Makefile @NBASE_BUILD@ @NSOCK_BUILD@ @LUA_BUILD@ $(NCATDIR)/ncat.h @PCAP_BUILD@
  	cd $(NCATDIR) && $(MAKE)
  
  build-lua: $(LIBLUADIR)/Makefile
--- 
-2.47.1
-
diff --git a/meta-oe/recipes-security/nmap/files/0002-Fix-building-with-libc.patch b/meta-oe/recipes-security/nmap/files/0002-Fix-building-with-libc.patch
deleted file mode 100644
index 6c2fdc6458..0000000000
--- a/meta-oe/recipes-security/nmap/files/0002-Fix-building-with-libc.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From c634826b85bc4b67890a18379025d1bdd530efa0 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 20 Jan 2019 23:11:56 -0800
-Subject: [PATCH] Fix building with libc++
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
----
- nping/EchoServer.cc | 14 +++++++-------
- 1 file changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/nping/EchoServer.cc b/nping/EchoServer.cc
-index 41108fc67..d392039a6 100644
---- a/nping/EchoServer.cc
-+++ b/nping/EchoServer.cc
-@@ -212,14 +212,14 @@ int EchoServer::nep_listen_socket(){
-         server_addr6.sin6_len = sizeof(struct sockaddr_in6);
-     #endif
-     /* Bind to local address and the specified port */
--    if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
-+    if( ::bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
-         nping_warning(QT_3, "Failed to bind to source address %s. Trying to bind to port %d...", IPtoa(server_addr6.sin6_addr), port);
-         /* If the bind failed for the supplied address, just try again with in6addr_any */
-         if( o.spoofSource() ){
-             server_addr6.sin6_addr = in6addr_any;
--            if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
-+            if( ::bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
-                 nping_fatal(QT_3, "Could not bind to port %d (%s).", port, strerror(errno));
--            }else{ 
-+            }else{
-                 nping_print(VB_1, "Server bound to port %d", port);
-             }
-         }
-@@ -250,12 +250,12 @@ int EchoServer::nep_listen_socket(){
- #endif
- 
-     /* Bind to local address and the specified port */
--    if( bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
-+    if( ::bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
-         nping_warning(QT_3, "Failed to bind to source address %s. Trying to bind to port %d...", IPtoa(server_addr4.sin_addr), port);
-         /* If the bind failed for the supplied address, just try again with in6addr_any */
-         if( o.spoofSource() ){
-             server_addr4.sin_addr.s_addr=INADDR_ANY;
--            if( bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
-+            if( ::bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
-                 nping_fatal(QT_3, "Could not bind to port %d (%s).", port, strerror(errno));
-             }else{
-                 nping_print(VB_1, "Server bound to port %d", port);
-@@ -491,7 +491,7 @@ clientid_t EchoServer::nep_match_headers(IPv4Header *ip4, IPv6Header *ip6, TCPHe
-                             nping_print(DBG_3, ";");
-                             /* The payload magic may affect the score only between
-                              * zero and 4 bytes. This is done to prevent long
--                             * common strings like "GET / HTTP/1.1\r\n" 
-+                             * common strings like "GET / HTTP/1.1\r\n"
-                              * increasing the score a lot and cause problems for
-                              * the matching logic. */
-                             current_score+= MIN(4, fspec->len)*FACTOR_PAYLOAD_MAGIC;
-@@ -581,7 +581,7 @@ clientid_t EchoServer::nep_match_packet(const u8 *pkt, size_t pktlen){
-                 }else{
-                     if( (tcplen=tcp.validate())==OP_FAILURE){
-                         return CLIENT_NOT_FOUND;
--                    }else{                        
-+                    }else{
-                         if( (int)pktlen > (iplen+tcplen) ){
-                            if( payload.storeRecvData(pkt+iplen+tcplen, pktlen-iplen-tcplen)!=OP_FAILURE)
-                                payload_included=true;
--- 
-2.43.0
-
diff --git a/meta-oe/recipes-security/nmap/nmap_7.991.bb b/meta-oe/recipes-security/nmap/nmap_7.993.bb
similarity index 92%
rename from meta-oe/recipes-security/nmap/nmap_7.991.bb
rename to meta-oe/recipes-security/nmap/nmap_7.993.bb
index 1553b36247..1d4ae175d4 100644
--- a/meta-oe/recipes-security/nmap/nmap_7.991.bb
+++ b/meta-oe/recipes-security/nmap/nmap_7.993.bb
@@ -7,11 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=895af8527fe4bcb72f271fd1841fd2f6"
 
 SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \
            file://nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch \
-           file://0001-Include-time.h-header-to-pass-clang-compilation.patch \
-           file://0002-Fix-building-with-libc.patch \
            file://0001-fix-racing-between-build-ncat-and-build-lua.patch \
            "
-SRC_URI[sha256sum] = "a5d507f29437bef3bedd4771ff9aaa8fc1c2a109ddba1f5b1cf12027456929be"
+SRC_URI[sha256sum] = "270e55f04915bfcecb5db8feb959d4c5ba86a48c094520a4f1c07571e1c79c59"
 
 UPSTREAM_CHECK_REGEX = "nmap-(?P<pver>\d+(\.\d+)+)\.tar"
 
