git: aca6a9a1190a - main - security/hashcat: remove redifinition warnings
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Mar 2022 21:06:16 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=aca6a9a1190a4e1644a877073ec1df3cec5e8c3d commit aca6a9a1190a4e1644a877073ec1df3cec5e8c3d Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-03-23 21:01:11 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-03-23 21:01:11 +0000 security/hashcat: remove redifinition warnings Duplicate identical type definitions of INT_PTR and UINT_PTR did cause benign compiler warnings. --- security/hashcat/Makefile | 3 ++- security/hashcat/files/patch-deps_LZMA-SDK_C_7zTypes.h | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/security/hashcat/Makefile b/security/hashcat/Makefile index e95f62266632..7fc1e358d8e2 100644 --- a/security/hashcat/Makefile +++ b/security/hashcat/Makefile @@ -1,6 +1,7 @@ PORTNAME= hashcat PORTVERSION= 6.2.5 DISTVERSIONPREFIX= v +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security @@ -10,7 +11,7 @@ COMMENT= Advanced CPU-based password recovery utility LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.txt -NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe sparc64 aarch64 +NOT_FOR_ARCHS= aarch64 powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= fails to compile: compiling for big-endian architecture not supported NOT_FOR_ARCHS_REASON_aarch64= fails to compile diff --git a/security/hashcat/files/patch-deps_LZMA-SDK_C_7zTypes.h b/security/hashcat/files/patch-deps_LZMA-SDK_C_7zTypes.h new file mode 100644 index 000000000000..b2ac34f0e546 --- /dev/null +++ b/security/hashcat/files/patch-deps_LZMA-SDK_C_7zTypes.h @@ -0,0 +1,13 @@ +--- deps/LZMA-SDK/C/7zTypes.h.orig 2021-11-21 15:39:01 UTC ++++ deps/LZMA-SDK/C/7zTypes.h +@@ -196,8 +196,8 @@ typedef void *LPVOID; + // typedef void VOID; + // typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; + // gcc / clang on Unix : sizeof(long==sizeof(void*) in 32 or 64 bits) +-typedef long INT_PTR; +-typedef unsigned long UINT_PTR; ++// typedef long INT_PTR; ++// typedef unsigned long UINT_PTR; + typedef long LONG_PTR; + typedef unsigned long DWORD_PTR; +