From bd998c35ef6c3c257f8c4f66084bc8a63f96377b Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Fri, 9 Sep 2016 13:08:32 -0500 Subject: [PATCH] Fixed patching --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c65b8c1..4fe3f0a 100644 --- a/Makefile +++ b/Makefile @@ -43,9 +43,9 @@ $(SRCDIR): $(ARCHIVE) fi $(SRCDIR)/config.log: $(SRCDIR) - @if [ -f $(PATCHDIR)/*.patch ]; then \ - cd $(SRCDIR) && cat $(PATCHDIR)/*.patch|patch --verbose -Np1; \ - fi + @cd $(SRCDIR) && for patch in $(PATCHDIR)/*.patch; do \ + patch --verbose -Np0 -i $$patch; \ + done @cd $(SRCDIR); \ ./configure \ --prefix=/usr \