From 14811d9fba9b0b3c5c959f2fcb216c17e69c1101 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Fri, 9 Sep 2016 13:09:47 -0500 Subject: [PATCH] Fixed patching --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cd486a7..611ebd5 100644 --- a/Makefile +++ b/Makefile @@ -41,9 +41,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 \