From 2ba4a5ba2151f6960d6a2c7c5df318ecc6994075 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 5 Feb 2020 13:28:26 +0100 Subject: net-analyzer/nmap: Drop obsolete patch Package-Manager: Portage-2.3.87, Repoman-2.3.20 Fixes: 4db35b3a2131c1973835b865106d3034d2e0635a Signed-off-by: Jeroen Roovers --- .../nmap/files/nmap-9999-constify-continued.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 net-analyzer/nmap/files/nmap-9999-constify-continued.patch (limited to 'net-analyzer/nmap/files') diff --git a/net-analyzer/nmap/files/nmap-9999-constify-continued.patch b/net-analyzer/nmap/files/nmap-9999-constify-continued.patch deleted file mode 100644 index 04738f408231..000000000000 --- a/net-analyzer/nmap/files/nmap-9999-constify-continued.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/libnetutil/EthernetHeader.cc -+++ b/libnetutil/EthernetHeader.cc -@@ -284,7 +284,7 @@ int EthernetHeader::setEtherType(u16 val){ - - - /** Returns destination port in HOST byte order */ --u16 EthernetHeader::getEtherType() const { -+const u16 EthernetHeader::getEtherType() const { - return ntohs(this->h.eth_type); - } /* End of getEtherType() */ - ---- a/scan_engine.cc -+++ b/scan_engine.cc -@@ -166,7 +166,7 @@ extern "C" int g_has_npcap_loopback; - #endif - - --int HssPredicate::operator() (const HostScanStats *lhs, const HostScanStats *rhs) const { -+const int HssPredicate::operator() (const HostScanStats *lhs, const HostScanStats *rhs) const { - const struct sockaddr_storage *lss, *rss; - lss = (lhs) ? lhs->target->TargetSockAddr() : ss; - rss = (rhs) ? rhs->target->TargetSockAddr() : ss; -- cgit v1.2.3-18-g5258