Fix build of cups-filters with qpdf 9.0

This commit is contained in:
prlw1 2019-09-20 11:11:52 +00:00
parent d1dfd54ef8
commit 0ea60ca6f0
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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>