pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/cups-filters Fix build of cups-filters with qpdf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1e8f54ac8c9
branches:  trunk
changeset: 339989:e1e8f54ac8c9
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Fri Sep 20 11:11:52 2019 +0000

description:
Fix build of cups-filters with qpdf 9.0

diffstat:

 print/cups-filters/distinfo                     |   3 ++-
 print/cups-filters/patches/patch-filter_pdf.cxx |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 9e7fe5cd16cb -r e1e8f54ac8c9 print/cups-filters/distinfo
--- a/print/cups-filters/distinfo       Fri Sep 20 10:56:45 2019 +0000
+++ b/print/cups-filters/distinfo       Fri Sep 20 11:11:52 2019 +0000
@@ -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-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 -r 9e7fe5cd16cb -r e1e8f54ac8c9 print/cups-filters/patches/patch-filter_pdf.cxx
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-filter_pdf.cxx   Fri Sep 20 11:11:52 2019 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index