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>
test? ( media-fonts/dejavu )
"
+PATCHES=(
+ "${FILESDIR}/${P}-missing_cstring.patch" #693498
+)
+
src_prepare() {
default
[[ "${PV}" == "9999" ]] && eautoreconf
--- /dev/null
+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>