[packages/cups-filters] - rel 2; fix work on glibc 2.28

arekm arekm at pld-linux.org
Mon Sep 17 20:43:26 CEST 2018


commit 861c3b045bc51497abf0397297e5849a1ccece28
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 17 20:43:19 2018 +0200

    - rel 2; fix work on glibc 2.28

 cups-filters.spec |  4 +++-
 cups-glibc.patch  | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/cups-filters.spec b/cups-filters.spec
index 70005a4..4e6e70c 100644
--- a/cups-filters.spec
+++ b/cups-filters.spec
@@ -12,7 +12,7 @@ Summary:	OpenPrinting CUPS filters and backends
 Summary(pl.UTF-8):	Filtry i backendy CUPS-a z projektu OpenPrinting
 Name:		cups-filters
 Version:	1.21.2
-Release:	1
+Release:	2
 # For a breakdown of the licensing, see COPYING file
 # GPLv2:   filters: commandto*, imagetoraster, pdftops, rasterto*,
 #                   imagetopdf, pstopdf, texttopdf
@@ -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:		cups-glibc.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 -p0
 
 %build
 %{__aclocal}
diff --git a/cups-glibc.patch b/cups-glibc.patch
new file mode 100644
index 0000000..6d852b0
--- /dev/null
+++ b/cups-glibc.patch
@@ -0,0 +1,10 @@
+--- filter/foomatic-rip/foomaticrip.c.orig	2015-10-20 14:59:20 UTC
++++ filter/foomatic-rip/foomaticrip.c
+@@ -656,6 +656,7 @@ int print_file(const char *filename, int
+                     rip_die(EXIT_PRNERR_NORETRY_BAD_SETTINGS,
+                             "Couldn't dup stdout of pdf-to-ps\n");
+ 
++                clearerr(stdin);
+                 ret = print_file("<STDIN>", 0);
+ 
+                 wait_for_process(renderer_pid);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cups-filters.git/commitdiff/861c3b045bc51497abf0397297e5849a1ccece28



More information about the pld-cvs-commit mailing list