Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Product-HA:s390x
SUSE:SLE-15:Update
cups-filters.29065
cups-filters-297cc2de-gs-9.27.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cups-filters-297cc2de-gs-9.27.patch of Package cups-filters.29065
From 297cc2decc53e0b08eb03049fce375db33df2131 Mon Sep 17 00:00:00 2001 From: Till Kamppeter <till.kamppeter@gmail.com> Date: Sun, 7 Apr 2019 16:34:16 +0200 Subject: [PATCH] foomatic-rip: Changed Ghostscript call to count pages in a PDF file so that it works with GS 9.27. --- filter/foomatic-rip/pdf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- filter/foomatic-rip/pdf.c +++ filter/foomatic-rip/pdf.c 2019-10-04 08:23:29.910967994 +0000 @@ -47,9 +47,8 @@ static int pdf_count_pages(const char *f size_t bytes; snprintf(gscommand, CMDLINE_MAX, "%s -dNODISPLAY -q -c " - "'/pdffile (%s) (r) file def pdfdict begin pdffile pdfopen begin " - "(PageCount: ) print pdfpagecount == flush currentdict pdfclose " - "end end quit'", + "'/pdffile (%s) (r) file runpdfbegin (PageCount: ) print " + "pdfpagecount = quit'", gspath, filename); FILE *pd = popen(gscommand, "r");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor