mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
ncrack: fix umac_ctx compilation failure, by debian patch. https://github.com/nmap/ncrack/issues/128
This commit is contained in:
parent
e11dd9f2ed
commit
ea3efb5230
2 changed files with 20 additions and 3 deletions
15
net-analyzer/ncrack/files/fix-gcc-10-build.patch
Normal file
15
net-analyzer/ncrack/files/fix-gcc-10-build.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Description: Fix build with gcc-10.
|
||||
Author: Jürgen Hötzel <juergen@hoetzel.info>
|
||||
Origin: https://github.com/nmap/ncrack/pull/83/
|
||||
|
||||
--- a/opensshlib/umac.c
|
||||
+++ b/opensshlib/umac.c
|
||||
@@ -1181,7 +1181,7 @@
|
||||
uhash_ctx hash; /* Hash function for message compression */
|
||||
pdf_ctx pdf; /* PDF for hashed output */
|
||||
void *free_ptr; /* Address to free this struct via */
|
||||
-} umac_ctx;
|
||||
+};
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Ncrack is a high-speed network authentication cracking tool"
|
||||
HOMEPAGE="https://nmap.org/ncrack/"
|
||||
|
|
@ -15,7 +15,9 @@ IUSE=""
|
|||
RDEPEND="dev-libs/openssl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "$FILESDIR/0.7-ldflags.patch" )
|
||||
PATCHES=( "${FILESDIR}/0.7-ldflags.patch"
|
||||
"${FILESDIR}/fix-gcc-10-build.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" STRIP=true install
|
||||
Loading…
Reference in a new issue