From fa941f494ae495d16935a33948c773893e453431 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Fri, 9 Sep 2016 13:10:28 -0500 Subject: [PATCH] Fixed patching --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2a4a2a2..b20d116 100644 --- a/Makefile +++ b/Makefile @@ -44,9 +44,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 \