]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
cups-pdf: Fix applying patch
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jul 2022 09:49:36 +0000 (09:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jul 2022 09:49:36 +0000 (09:49 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/cups-pdf

index efa40e87b459b5064d14eee26da4e2a16a42d671..5e9f8656231b6580cb0ce8471bd5219ea3f9c5ed 100644 (file)
@@ -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