]> git.pld-linux.org Git - packages/cups-filters.git/commitdiff
- rel 2; fix work on glibc 2.28 auto/th/cups-filters-1.21.2-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 17 Sep 2018 18:43:19 +0000 (20:43 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 17 Sep 2018 18:43:19 +0000 (20:43 +0200)
cups-filters.spec
cups-glibc.patch [new file with mode: 0644]

index 70005a479aaa2062a2513fe24770e84cae9a477d..4e6e70c55cb7b48b77a8a86e85ef59348a02b9a8 100644 (file)
@@ -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 (file)
index 0000000..6d852b0
--- /dev/null
@@ -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);
This page took 0.643494 seconds and 4 git commands to generate.