diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-09-05 08:45:09 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-09-05 08:45:09 +0200 |
commit | a65b125b85b64534a995da2e918073a15f404e38 (patch) | |
tree | 36aa1c4200698b2606039974159575354f2aef01 /net-print | |
parent | dev-util/cmake: Removed old (diff) | |
download | gentoo-a65b125b85b64534a995da2e918073a15f404e38.tar.gz gentoo-a65b125b85b64534a995da2e918073a15f404e38.tar.bz2 gentoo-a65b125b85b64534a995da2e918073a15f404e38.zip |
net-print/cups-filters: Fixed build against app-text/qpdf-9.0.0
Closes: https://bugs.gentoo.org/693498
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups-filters/cups-filters-1.25.4.ebuild | 4 | ||||
-rw-r--r-- | net-print/cups-filters/files/cups-filters-1.25.4-missing_cstring.patch | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/net-print/cups-filters/cups-filters-1.25.4.ebuild b/net-print/cups-filters/cups-filters-1.25.4.ebuild index cdc922f82de3..03ae82bd13c0 100644 --- a/net-print/cups-filters/cups-filters-1.25.4.ebuild +++ b/net-print/cups-filters/cups-filters-1.25.4.ebuild @@ -48,6 +48,10 @@ DEPEND="${RDEPEND} test? ( media-fonts/dejavu ) " +PATCHES=( + "${FILESDIR}/${P}-missing_cstring.patch" #693498 +) + src_prepare() { default [[ "${PV}" == "9999" ]] && eautoreconf diff --git a/net-print/cups-filters/files/cups-filters-1.25.4-missing_cstring.patch b/net-print/cups-filters/files/cups-filters-1.25.4-missing_cstring.patch new file mode 100644 index 000000000000..1b051221b6e7 --- /dev/null +++ b/net-print/cups-filters/files/cups-filters-1.25.4-missing_cstring.patch @@ -0,0 +1,17 @@ +From 1878ecd2ef533c3dbe6e6bc29018ce4bf8246e83 Mon Sep 17 00:00:00 2001 +From: Till Kamppeter <till.kamppeter@gmail.com> +Date: Wed, 4 Sep 2019 18:13:11 +0200 +Subject: [PATCH] bannertopdf: Added missing "#include <cstring>" to pdf.cxx. + +diff --git a/filter/pdf.cxx b/filter/pdf.cxx +index 5b212ca9..f12607f8 100644 +--- a/filter/pdf.cxx ++++ b/filter/pdf.cxx +@@ -20,6 +20,7 @@ + #include "pdf.h" + #include <vector> + #include <string> ++#include <cstring> + #include <qpdf/QPDF.hh> + #include <qpdf/QPDFObjectHandle.hh> + #include <qpdf/QPDFWriter.hh> |