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
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
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p0
%build
%{__aclocal}
--- /dev/null
+--- 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);