summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2019-09-20 11:11:52 +0000
committerprlw1 <prlw1@pkgsrc.org>2019-09-20 11:11:52 +0000
commitc474fb3d2257b0748e532796d02724a238254034 (patch)
tree3075d92f364d2e6cfa525e0f25f435bf9fe795fc /print
parent4f6cfad8d6af8a6713929e226a32d223204c9387 (diff)
downloadpkgsrc-c474fb3d2257b0748e532796d02724a238254034.tar.gz
Fix build of cups-filters with qpdf 9.0
Diffstat (limited to 'print')
-rw-r--r--print/cups-filters/distinfo3
-rw-r--r--print/cups-filters/patches/patch-filter_pdf.cxx15
2 files changed, 17 insertions, 1 deletions
diff --git a/print/cups-filters/distinfo b/print/cups-filters/distinfo
index 6c905cc9aaa..83cc6487f88 100644
--- a/print/cups-filters/distinfo
+++ b/print/cups-filters/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2019/06/01 17:39:05 leot Exp $
+$NetBSD: distinfo,v 1.64 2019/09/20 11:11:52 prlw1 Exp $
SHA1 (cups-filters-1.23.0.tar.xz) = bc138548f82a78f3946cfea67ab775e265a97ca9
RMD160 (cups-filters-1.23.0.tar.xz) = 46650c7cd3e99d122a729717269b111c71d3bc7f
@@ -8,5 +8,6 @@ SHA1 (patch-Makefile.in) = 2d5b05c9dca8ef7cc51931d77dddb1b2c4d422d8
SHA1 (patch-configure) = b55dc7dc22008351c396374aceb88d2be293d179
SHA1 (patch-filter_gstoraster.c) = 4eef8d91d8ca26a5a874e29885b836e9670d9e5d
SHA1 (patch-filter_mupdftoraster.c) = 81a06cbb3be9a7fd3e797a2effa5ef0aecfc2621
+SHA1 (patch-filter_pdf.cxx) = f387f166e8f8772e65f525d9ae301168125b9949
SHA1 (patch-fontembed_test__pdf.c) = 5ffb13a59ed4d860a3ae4355e364059973715290
SHA1 (patch-fontembed_test__ps.c) = 70f9ab9c8f74ab96abe04cda926a7116386d5f2e
diff --git a/print/cups-filters/patches/patch-filter_pdf.cxx b/print/cups-filters/patches/patch-filter_pdf.cxx
new file mode 100644
index 00000000000..ceffd0c727e
--- /dev/null
+++ b/print/cups-filters/patches/patch-filter_pdf.cxx
@@ -0,0 +1,15 @@
+$NetBSD: patch-filter_pdf.cxx,v 1.3 2019/09/20 11:11:52 prlw1 Exp $
+
+Fix build with qpdf 9.0
+https://github.com/OpenPrinting/cups-filters/commit/1878ecd2ef533c3dbe6e6bc29018ce4bf8246e83
+
+--- filter/pdf.cxx.orig 2019-05-16 13:02:29.000000000 +0000
++++ 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>