From: Michael Tremer Date: Wed, 27 Jul 2022 09:49:36 +0000 (+0000) Subject: cups-pdf: Fix applying patch X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14909d5fe9371231437b9b85a35adf4ae5e006f1;p=people%2Fpmueller%2Fipfire-2.x.git cups-pdf: Fix applying patch Signed-off-by: Michael Tremer --- diff --git a/lfs/cups-pdf b/lfs/cups-pdf index efa40e87b4..5e9f865623 100644 --- a/lfs/cups-pdf +++ b/lfs/cups-pdf @@ -81,7 +81,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/cups-pdf-setpdfwrite.patch + cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/cups-pdf-setpdfwrite.patch # Compile backend cd $(DIR_APP)/src && gcc $(CFLAGS) cups-pdf.c -o cups-pdf -lcups