aboutsummaryrefslogtreecommitdiff
path: root/security/hashcat/files/patch-src_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/hashcat/files/patch-src_Makefile')
-rw-r--r--security/hashcat/files/patch-src_Makefile33
1 files changed, 18 insertions, 15 deletions
diff --git a/security/hashcat/files/patch-src_Makefile b/security/hashcat/files/patch-src_Makefile
index 6b66a129610e..e728d5dc6d15 100644
--- a/security/hashcat/files/patch-src_Makefile
+++ b/security/hashcat/files/patch-src_Makefile
@@ -1,7 +1,19 @@
---- src/Makefile.orig 2022-09-02 14:58:13 UTC
+--- src/Makefile.orig 2025-08-23 08:43:56 UTC
+++ src/Makefile
-@@ -82,7 +82,9 @@ CXX := c++
- ifneq (,$(filter $(UNAME),FreeBSD NetBSD))
+@@ -75,8 +75,9 @@ RM := rm
+ FIND := find
+ INSTALL := install
+ RM := rm
+-SED := sed
+-SED_IN_PLACE := -i
++CXXLIB := -lc++
++SED := /usr/bin/sed
++SED_IN_PLACE := -i ""
+
+ ifeq ($(UNAME),Darwin)
+ CC := clang
+@@ -95,7 +96,9 @@ CXX := c++
+ ifneq (,$(filter $(UNAME),FreeBSD NetBSD DragonFly))
CC := cc
CXX := c++
-SED := gsed
@@ -10,17 +22,8 @@
+SED_IN_PLACE := -i ""
endif
- ##
-@@ -213,7 +215,7 @@ ifneq ($(CC),clang)
- ifeq ($(ENABLE_UNRAR),1)
- ifeq ($(USE_SYSTEM_UNRAR),0)
- ifneq ($(CC),clang)
--CFLAGS_UNRAR += -Wno-class-memaccess
-+#CFLAGS_UNRAR += -Wno-class-memaccess
- CFLAGS_UNRAR += -Wno-misleading-indentation
- endif
- CFLAGS_UNRAR += -Wno-missing-braces
-@@ -608,6 +610,11 @@ uninstall:
+ ifneq (,$(filter $(UNAME),OpenBSD))
+@@ -702,6 +705,11 @@ uninstall:
## native compiled hashcat library and frontend
##
@@ -32,7 +35,7 @@
obj/%.NATIVE.o: src/%.c
$(CC) -c $(CCFLAGS) $(CFLAGS_NATIVE) $< -o $@ -fpic
-@@ -651,10 +658,10 @@ $(HASHCAT_FRONTEND): src/main.c $(HASHCAT_LIBRARY)
+@@ -752,10 +760,10 @@ $(HASHCAT_FRONTEND): src/main.c $(HASHCAT_LIBRARY)
ifeq ($(SHARED),1)
$(HASHCAT_FRONTEND): src/main.c $(HASHCAT_LIBRARY)