import cups-filters-1.20.0-27.el8
This commit is contained in:
parent
465c13a196
commit
4dc970ec74
|
@ -0,0 +1,26 @@
|
|||
From 022c34fedb66f706b2ab82d7506d5b5b1fa18e1f Mon Sep 17 00:00:00 2001
|
||||
From: Bryan Mason <bmason@redhat.com>
|
||||
Date: Fri, 16 Jul 2021 11:19:42 -0700
|
||||
Subject: [PATCH] libcupsfilter: Fix page range like "10-" in pdftopdf()
|
||||
filter function
|
||||
|
||||
---
|
||||
filter/pdftopdf/pdftopdf.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/filter/pdftopdf/pdftopdf.cc b/filter/pdftopdf/pdftopdf.cc
|
||||
index 5725e199..979644f1 100644
|
||||
--- a/filter/pdftopdf/pdftopdf.cc
|
||||
+++ b/filter/pdftopdf/pdftopdf.cc
|
||||
@@ -256,7 +256,7 @@ static void parseRanges(const char *range,IntervalSet &ret) // {{{
|
||||
} else {
|
||||
upper=strtol(range,(char **)&range,10);
|
||||
if (upper>=2147483647) {
|
||||
- ret.add(1);
|
||||
+ ret.add(lower);
|
||||
} else {
|
||||
ret.add(lower,upper+1);
|
||||
}
|
||||
--
|
||||
2.31.1
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
Summary: OpenPrinting CUPS filters and backends
|
||||
Name: cups-filters
|
||||
Version: 1.20.0
|
||||
Release: 26%{?dist}
|
||||
Release: 27%{?dist}
|
||||
|
||||
# For a breakdown of the licensing, see COPYING file
|
||||
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
|
||||
|
@ -53,6 +53,8 @@ Patch13: 0001-gstoraster-Use-.setfilladjust2-PostScript-command-fo.patch
|
|||
Patch14: 0001-cups-browsed-Always-save-.-default-option-entries-fr.patch
|
||||
# 1972981 - cups-browsed doesn't renew DBus subscription in time and all printing comes to a halt
|
||||
Patch15: cups-browsed-renew.patch
|
||||
# 1981612 - [RHEL 8] pdftopdf doesn't handle "page-range=10-2147483647" correctly
|
||||
Patch16: 0001-libcupsfilters-Fix-page-range-like-10-in-pdftopdf-fi.patch
|
||||
|
||||
Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
@ -195,6 +197,8 @@ This is the development package for OpenPrinting CUPS filters and backends.
|
|||
%patch14 -p1 -b .cups-browsed-save-default-options
|
||||
# 1972981 - cups-browsed doesn't renew DBus subscription in time and all printing comes to a halt
|
||||
%patch15 -p1 -b .renew
|
||||
# 1981612 - [RHEL 8] pdftopdf doesn't handle "page-range=10-2147483647" correctly
|
||||
%patch16 -p1 -b .ranges
|
||||
|
||||
|
||||
%build
|
||||
|
@ -342,6 +346,9 @@ make check
|
|||
%{_libdir}/libfontembed.so
|
||||
|
||||
%changelog
|
||||
* Tue Jul 13 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.20.0-27
|
||||
- 1981612 - [RHEL 8] pdftopdf doesn't handle "page-range=10-2147483647" correctly
|
||||
|
||||
* Mon Jun 21 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.20.0-26
|
||||
- 1972981 - cups-browsed doesn't renew DBus subscription in time and all printing comes to a halt
|
||||
|
||||
|
|
Loading…
Reference in New Issue