From: Luigi Rizzo Date: Fri, 5 Sep 2014 06:28:00 +0000 (+0200) Subject: for Windows, remove \r from the files to patch X-Git-Url: http://git.onelab.eu/?p=ipfw-google.git;a=commitdiff_plain;h=6acd253e333a4a71b9cc973dcccb77ff1e616594 for Windows, remove \r from the files to patch --- diff --git a/Makefile b/Makefile index 508f1ae..0a39d0d 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,7 @@ win64: ndis-glue: -@mkdir -p kipfw-mod cp $(DDK)/src/network/ndis/passthru/driver/*.[ch] kipfw-mod + (cd kipfw-mod; for i in `find . -type f`; do sed -i.tmp "s/$$(printf '\r')//g" $$i; done ) cat kipfw/win-passthru.diff | sed "s/$$(printf '\r')//g" | (cd kipfw-mod; patch ) kipfw-src: