Update to foomatic-filters-4.0.12.

This commit is contained in:
ajacoutot 2012-02-17 15:44:16 +00:00
parent bf0e713792
commit 5767c7e5a4
3 changed files with 23 additions and 17 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.35 2012/02/17 13:26:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2012/02/17 15:44:16 ajacoutot Exp $
COMMENT= Foomatic PPD print filters
DISTNAME= foomatic-filters-4.0.9
DISTNAME= foomatic-filters-4.0.12
CATEGORIES= print
REVISION= 3
HOMEPAGE= http://www.linuxfoundation.org/en/OpenPrinting/Database/Foomatic
@ -18,9 +17,7 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += c dbus-1 m pthread
MASTER_SITES= http://www.linuxprinting.org/download/foomatic/ \
http://www.openprinting.org/download/foomatic/ \
http://www.linuxprinting.org/download/foomatic/oldstuff/ \
MASTER_SITES= http://www.openprinting.org/download/foomatic/ \
http://www.openprinting.org/download/foomatic/oldstuff/
LIB_DEPENDS= x11/dbus
@ -32,7 +29,7 @@ RUN_DEPENDS= print/ghostscript/gnu \
print/gstoraster
AUTOMAKE_VERSION=1.10
AUTOCONF_VERSION=2.61
AUTOCONF_VERSION=2.65
INSTALL_TARGET= install-main install-cups

View File

@ -1,5 +1,5 @@
MD5 (foomatic-filters-4.0.9.tar.gz) = qxOq1Nltv8otE2U0M6uCcA==
RMD160 (foomatic-filters-4.0.9.tar.gz) = RWIw5ISUovDyFh0K89ReGl2yYZI=
SHA1 (foomatic-filters-4.0.9.tar.gz) = jPRfwyvsvXvCW6ctwjAyoBnqopo=
SHA256 (foomatic-filters-4.0.9.tar.gz) = WBnTV4idspe7JtqMCa9JoQGvLdbN4lfdl3qgIbkWY6A=
SIZE (foomatic-filters-4.0.9.tar.gz) = 254831
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

View File

@ -1,11 +1,20 @@
$OpenBSD: patch-foomaticrip_c,v 1.6 2011/08/25 10:39:46 ajacoutot Exp $
$OpenBSD: patch-foomaticrip_c,v 1.7 2012/02/17 15:44:16 ajacoutot Exp $
From pkgsrc.
Prevent bogus 'Job does not start with "%!", is it PostScript?' errors.
--- foomaticrip.c.orig Mon Jul 25 23:29:09 2011
+++ foomaticrip.c Thu Aug 25 12:11:40 2011
@@ -1068,6 +1068,7 @@ int print_file(const char *filename, int convert)
--- foomaticrip.c.orig Fri Feb 10 22:28:45 2012
+++ foomaticrip.c Fri Feb 17 16:39:46 2012
@@ -180,7 +180,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/local/lib/cups/f
"/opt/cups/filter:"
"/usr/lib/cups/filter";
-char modern_shell[64] = "/bin/bash";
+char modern_shell[64] = "/bin/ksh";
void config_set_option(const char *key, const char *value)
{
@@ -1071,6 +1071,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");
@ -13,7 +22,7 @@ Prevent bogus 'Job does not start with "%!", is it PostScript?' errors.
ret = print_file("<STDIN>", 0);
@@ -1099,6 +1100,7 @@ int print_file(const char *filename, int convert)
@@ -1102,6 +1103,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");