From 0f813cdff46324946674f0802dcd2061ce2eee61 Mon Sep 17 00:00:00 2001 From: Boris Pek Date: Wed, 4 May 2016 19:08:06 +0300 Subject: Makefile: simplify work with patches Fix annoying "different line endings" problem of patch tool. https://stackoverflow.com/questions/2076688/how-to-use-patches-created-in-windows-with-crlf-in-linuxi --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f846bf..8ea8e0c 100644 --- a/Makefile +++ b/Makefile @@ -199,7 +199,7 @@ define PREPARE_PKG_SOURCE cd '$(2)' && $(call UNPACK_PKG_ARCHIVE,$(1)) cd '$(2)/$($(1)_SUBDIR)' $(foreach PKG_PATCH,$(PKG_PATCHES), - (cd '$(2)/$($(1)_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH)) + (cd '$(2)/$($(1)_SUBDIR)' && $(PATCH) -p1 -u --binary) < $(PKG_PATCH)) endef PKG_CHECKSUM = \ -- cgit v0.12