Updtae to foomatic-filters-4.0.15.

This commit is contained in:
ajacoutot 2012-04-11 15:47:48 +00:00
parent f73b69c5f0
commit dd1e622a14
3 changed files with 12 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.36 2012/02/17 15:44:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.37 2012/04/11 15:47:48 ajacoutot Exp $
COMMENT= Foomatic PPD print filters
DISTNAME= foomatic-filters-4.0.12
DISTNAME= foomatic-filters-4.0.15
CATEGORIES= print
HOMEPAGE= http://www.linuxfoundation.org/en/OpenPrinting/Database/Foomatic

View File

@ -1,5 +1,5 @@
MD5 (foomatic-filters-4.0.12.tar.gz) = v2A0nP9qAZ8UqsfsRA9yxQ==
RMD160 (foomatic-filters-4.0.12.tar.gz) = 8R3l1yYWJFYrMyAwpfm9fgsDtHk=
SHA1 (foomatic-filters-4.0.12.tar.gz) = Zr8dFQDQrHqEjDkmCB2YiFsNSp4=
SHA256 (foomatic-filters-4.0.12.tar.gz) = CI+Ow+Bs+uzcTAbT9pPXjzQlTzzuKBexI5IkUEI2gp8=
SIZE (foomatic-filters-4.0.12.tar.gz) = 265634
MD5 (foomatic-filters-4.0.15.tar.gz) = G3783Fc0CRVkfapbXBWw7w==
RMD160 (foomatic-filters-4.0.15.tar.gz) = oVaFJBbrTzzPjOgYPsciJUEkOBo=
SHA1 (foomatic-filters-4.0.15.tar.gz) = IElruVzEK8yyv9L2dbFAgQMDh8U=
SHA256 (foomatic-filters-4.0.15.tar.gz) = 9be2eqzt7EwClNJCy/++DX080P3StBDAVegY8l7TvHk=
SIZE (foomatic-filters-4.0.15.tar.gz) = 266118

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-foomaticrip_c,v 1.7 2012/02/17 15:44:16 ajacoutot Exp $
$OpenBSD: patch-foomaticrip_c,v 1.8 2012/04/11 15:47:48 ajacoutot Exp $
From pkgsrc.
Prevent bogus 'Job does not start with "%!", is it PostScript?' errors.
--- foomaticrip.c.orig Fri Feb 10 22:28:45 2012
+++ foomaticrip.c Fri Feb 17 16:39:46 2012
--- foomaticrip.c.orig Fri Mar 23 13:28:34 2012
+++ foomaticrip.c Wed Apr 11 17:43:02 2012
@@ -180,7 +180,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/local/lib/cups/f
"/opt/cups/filter:"
"/usr/lib/cups/filter";
@ -14,7 +14,7 @@ Prevent bogus 'Job does not start with "%!", is it PostScript?' errors.
void config_set_option(const char *key, const char *value)
{
@@ -1071,6 +1071,7 @@ int print_file(const char *filename, int convert)
@@ -1076,6 +1076,7 @@ int print_file(const char *filename, int convert)
if (dup2(fileno(out), fileno(stdin)) < 0)
rip_die(EXIT_PRNERR_NORETRY_BAD_SETTINGS,
"Couldn't dup stdout of pdf-to-ps\n");
@ -22,7 +22,7 @@ Prevent bogus 'Job does not start with "%!", is it PostScript?' errors.
ret = print_file("<STDIN>", 0);
@@ -1102,6 +1103,7 @@ int print_file(const char *filename, int convert)
@@ -1107,6 +1108,7 @@ int print_file(const char *filename, int convert)
/* Read further data from the file converter and not from STDIN */
if (dup2(fileno(fchandle), fileno(stdin)) < 0)
rip_die(EXIT_PRNERR_NORETRY_BAD_SETTINGS, "Couldn't dup fileconverterhandle\n");