From a667ded3e900a147afd62e7b3c95c02f06b43daf Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Sep 17 2019 10:54:19 +0000 Subject: ftbfs with qpdf-9.0.0 --- diff --git a/cups-filters-qpdf-9.patch b/cups-filters-qpdf-9.patch new file mode 100644 index 0000000..50183c0 --- /dev/null +++ b/cups-filters-qpdf-9.patch @@ -0,0 +1,12 @@ +diff --git a/filter/pdf.cxx b/filter/pdf.cxx +index 5b212ca..f12607f 100644 +--- a/filter/pdf.cxx ++++ b/filter/pdf.cxx +@@ -20,6 +20,7 @@ + #include "pdf.h" + #include + #include ++#include + #include + #include + #include diff --git a/cups-filters.spec b/cups-filters.spec index b90f9f2..06838f0 100644 --- a/cups-filters.spec +++ b/cups-filters.spec @@ -32,6 +32,8 @@ Patch02: cups-browsed.8.patch Patch03: cups-filters-foomaticrip-segfault.patch # backported from upstream, do not create encrypted file during filtering Patch04: pdftopdf-nocrypt.patch +# backported from upstream, ftbfs with qpdf-9.0.0 +Patch05: cups-filters-qpdf-9.patch Requires: cups-filters-libs%{?_isa} = %{version}-%{release} @@ -145,6 +147,7 @@ This is the development package for OpenPrinting CUPS filters and backends. # 1740122 - foomatic-rip segfaults when env variable PRINTER is not defined %patch03 -p1 -b .foomaticrip-segfault %patch04 -p1 -b .pdftopdf-nocrypt +%patch05 -p1 -b .qpdf-9 %build # work-around Rpath @@ -294,6 +297,7 @@ make check %changelog * Tue Sep 17 2019 Zdenek Dohnal - 1.22.5-6 +- ftbfs with qpdf-9.0.0 - pdftopdf output should not be encrypted * Wed Sep 11 2019 Zdenek Dohnal - 1.22.5-5