]> git.pld-linux.org Git - packages/cups-filters.git/commitdiff
upstream patch to fix build with new poppler
authorJan Palus <atler@pld-linux.org>
Tue, 22 May 2018 20:52:14 +0000 (22:52 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 22 May 2018 20:52:14 +0000 (22:52 +0200)
cups-filters-poppler.patch [new file with mode: 0644]
cups-filters.spec

diff --git a/cups-filters-poppler.patch b/cups-filters-poppler.patch
new file mode 100644 (file)
index 0000000..7cdfc26
--- /dev/null
@@ -0,0 +1,35 @@
+From 2561a9dc5ebdfd90cc2781ca8f1560f4faff19a1 Mon Sep 17 00:00:00 2001
+From: Till Kamppeter <till.kamppeter@gmail.com>
+Date: Tue, 8 May 2018 20:57:56 +0200
+Subject: [PATCH] pdftoopvp: Silence compiler warning.
+
+---
+ NEWS                               | 1 +
+ filter/pdftoopvp/OPVPOutputDev.cxx | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/NEWS b/NEWS
+index e29e3ba8..19caf601 100644
+--- a/NEWS
++++ b/NEWS
+@@ -3,6 +3,7 @@ NEWS - OpenPrinting CUPS Filters v1.20.3 - 2018-04-12
+ CHANGES IN V1.20.4
++      - pdftoopvp: Silence compiler warning (Issue #42).
+       - cups-browsed: If the user modifies/overwrites a print queue
+         created by cups-browsed, it will now not only be
+         automatically released from the control of cups-browsed, but
+diff --git a/filter/pdftoopvp/OPVPOutputDev.cxx b/filter/pdftoopvp/OPVPOutputDev.cxx
+index 63806e8a..45ebe02c 100644
+--- a/filter/pdftoopvp/OPVPOutputDev.cxx
++++ b/filter/pdftoopvp/OPVPOutputDev.cxx
+@@ -66,7 +66,7 @@ struct SplashOutFontSubst {
+ class SplashOutFontFileID: public SplashFontFileID {
+ public:
+-  SplashOutFontFileID(Ref *rA) { r = *rA; substIdx = -1; }
++  SplashOutFontFileID(const Ref *rA) { r = *rA; substIdx = -1; }
+   ~SplashOutFontFileID() {}
index bc4b25fc5490a85346c4c23cc83fc7b12afd1bed..04d43841fda0180d8218224919974e0f7117ecfb 100644 (file)
@@ -29,6 +29,7 @@ Source0:      http://www.openprinting.org/download/cups-filters/%{name}-%{version}.ta
 Patch0:                %{name}-dbus.patch
 Patch1:                %{name}-php.patch
 Patch2:                %{name}-php7.patch
+Patch3:                %{name}-poppler.patch
 URL:           http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
@@ -248,6 +249,7 @@ Moduł PHP do ogólnego systemu druku dla Uniksa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__aclocal}
This page took 0.114528 seconds and 4 git commands to generate.