Skip to content
Snippets Groups Projects
Commit 055b079a authored by deuce's avatar deuce
Browse files

FreeBSD ships with unzip(1) which uses different heuristics with the -a option.

This results in *.vcxproj files not being detected as ascii since they have a
UTF-8 BOM at the beginning (and are therefore not ASCII).

Use perl to strip CRs from crypt32.vcxproj to allow the patch to apply cleanly.
parent 82471329
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,7 @@ $(CRYPTLIB_BUILD): $(3RDP_ROOT)$(DIRSEP)dist/cryptlib.zip $(3RDP_ROOT)$(DIRSEP)b
@echo Creating $@ ...
$(QUIET)-rm -rf $(CRYPT_SRC)/*
$(QUIET)unzip -oa $(3RDPDISTDIR)$(DIRSEP)cryptlib.zip -d $(CRYPT_SRC)
$(QUIET)perl -pi.bak -e 's/\r//' $(CRYPT_SRC)/crypt32.vcxproj
$(QUIET)patch -p0 -d $(CRYPT_SRC) < random_exit.patch
$(QUIET)patch -p0 -d $(CRYPT_SRC) < SSL-fix.patch
$(QUIET)patch -p0 -d $(CRYPT_SRC) < Dynamic-linked-static-lib.patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment