diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-02-05 13:28:26 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-02-05 13:28:48 +0100 |
commit | 2ba4a5ba2151f6960d6a2c7c5df318ecc6994075 (patch) | |
tree | d30e00aef50165b6f32e15ad478ecbee01f69a31 /net-analyzer/nmap | |
parent | mail-mta/opensmtpd: modernize options (diff) | |
download | gentoo-2ba4a5ba2151f6960d6a2c7c5df318ecc6994075.tar.gz gentoo-2ba4a5ba2151f6960d6a2c7c5df318ecc6994075.tar.bz2 gentoo-2ba4a5ba2151f6960d6a2c7c5df318ecc6994075.zip |
net-analyzer/nmap: Drop obsolete patch
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Fixes: 4db35b3a2131c1973835b865106d3034d2e0635a
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r-- | net-analyzer/nmap/files/nmap-9999-constify-continued.patch | 22 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-9999.ebuild | 3 |
2 files changed, 1 insertions, 24 deletions
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; diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild index c45c2c6b4ce3..e5440fa3e63e 100644 --- a/net-analyzer/nmap/nmap-9999.ebuild +++ b/net-analyzer/nmap/nmap-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -66,7 +66,6 @@ PATCHES=( "${FILESDIR}"/${PN}-7.25-libpcre.patch "${FILESDIR}"/${PN}-7.31-libnl.patch "${FILESDIR}"/${PN}-7.80-ac-config-subdirs.patch - "${FILESDIR}"/${PN}-9999-constify-continued.patch "${FILESDIR}"/${PN}-9999-netutil-else.patch ) S="${WORKDIR}/${MY_P}" |