diff options
Diffstat (limited to 'security/hashcat/files/patch-src_Makefile')
-rw-r--r-- | security/hashcat/files/patch-src_Makefile | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/security/hashcat/files/patch-src_Makefile b/security/hashcat/files/patch-src_Makefile deleted file mode 100644 index 7d1c2e3d5a40..000000000000 --- a/security/hashcat/files/patch-src_Makefile +++ /dev/null @@ -1,52 +0,0 @@ ---- src/Makefile.orig 2016-06-28 09:47:32 UTC -+++ src/Makefile -@@ -17,7 +17,7 @@ UNAME := $(shell unam - # we need to strip the windows version number to be able to build hashcat on cygwin hosts - UNAME := $(patsubst CYGWIN_NT-%,CYGWIN_NT-,$(UNAME)) - --ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT-)) -+ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT- FreeBSD)) - $(error "! Your Operating System ($(UNAME)) is not supported by $(PROG_NAME) Makefile") - endif - -@@ -58,7 +58,6 @@ OPENCL_HEADERS_KHRONOS := deps/OpenCL- - ## Native compiler paths - ## - --CC := gcc - FIND := find - INSTALL := install - RM := rm -@@ -87,7 +86,7 @@ VERSION_TAG := $(shell test - ## Compiler flags - ## - --CFLAGS := -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/ -+CFLAGS += -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/ - - ifndef DEBUG - CFLAGS += -O2 -@@ -97,6 +96,9 @@ ifeq ($(DEBUG),2) - CFLAGS += -fsanitize=address -fno-omit-frame-pointer - endif - endif -+ifeq ($(UNAME),FreeBSD) -+SED := gsed -+endif - - ## - ## Native compilation target -@@ -122,6 +124,13 @@ LFLAGS_NATIVE := -lpthread -l - CFLAGS_NATIVE += -DHAVE_HWMON - endif # linux - -+ifeq ($(UNAME),FreeBSD) -+CFLAGS_NATIVE := -D_POSIX -+CFLAGS_NATIVE += $(CFLAGS) -+LFLAGS_NATIVE := -lpthread -+LFLAGS_NATIVE += $(LDFLAGS) -+endif # freebsd -+ - ## - ## Cross compilation target - ## |